Visual Studio not finding my DB as data connection - visual-studio

I'm a newbie to programming, I'm trying to make a basic program which will write to a database, so I'm trying to follow Microsoft's own example here. I've created the sample database OK but I'm struggling with the "Create the data source" part. Firstly, the link about installing sample databases doesn't seem to actually have any information about sampling databases, so that's not a good start.
I tried to proceed with adding a data connection to the database but there's nothing in the dropdown when I try to choose a dataset.
I have the Azure Storage Emulator cmd prompt running and I've initialised to my MSSQLLocalDb but the 'start' command doesn't work. Can anybody tell me what I'm doing wrong??
Thanks in advance.

but I'm struggling with the "Create the data source" part.
I also follow the example that you mentioned. If we add the server (localdb)\MSSQLLocalDB for the server name then we could see the databases listed in the dropdwonlist.
For more information you could refer the screenshot.
Then click next and choose the tables, we could get the expected result.

Related

Why is my App Insights not recording data?

I'd like to set up App Insights on a .NET Core API project I have.
I've been following a couple articles, this simple one with setup steps here: https://learn.microsoft.com/en-us/azure/azure-monitor/learn/dotnetcore-quick-start
And the more in-depth: https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core
I have everything set up and registered correctly
But I can't get any data to show up, either in Azure or in Visual Studio's App Insights Search
The steps to setup seem pretty straightforward and I haven't missed any steps - any good reasons why no data is showing up?
As per your description, there seems no configuration error in your site since you can see the telemetry data is sent via visual studio output.
There are some things you need to check:
In application insights search:
1.please make sure the time range is selected as a proper value, like last hour or last 30 minutes.
2.For the types, select All.
And also note that, there is always some minutes delay for the data to be displayed on azure portal.
If you want to get more infor, then in appsettings.json, you should change Warning to Information

How to get the Application.ProductCode in office for mac

I am building a small Excel VBA app where I would need to access the Application.ProductCode property. There is no problems on Windows, however I would need this script to also run on Excel for Mac, and there it seems that this property is not accessible. I receive the error message
"run time error '438':
Object doesn't support this property or method"
Does someone know a way to get access to this property in the VBA scripts?
Would there be maybe a way to access this information using the new excel javascript addins? I checked but I could not access this information.
Thanks for your help
Mikhail
I think this has already been answered, if I'm understanding the intent of your question correctly:
How can I generate GUIDs in Excel?
and you'll see the comment:
"Works perfectly on Excel for Mac, just have to change ; to , – Mirko Akov"

sharepoint 2010 infopath custom code button hidden

I've been giving a really fun task at work,
I need to create a SharePoint app or some sort of list on sharepoint, where someone can nominee people from the company to win some sort of recognition then this will go out to a group of people that will approve if they "deserve the recognition".
this project was being work by a guy that left the company last Friday so basically I have a week to do something about it and I don't really know a lot about SharePoint.
I've done my research, and at first I went straight to the technical point of view where I would just basically code a connection to database, design the interface etc... but sharepoint has a really friendly user interface, uh, so friendly that sometimes I feel like I'm not capable of controlling it.
I was assigned a "technical" resource, this person supports SharePoint in the company however she doesn't have experience of creating custom applications or what else.
she teach me how to create a list and editing a form, adding columns to it. A easy way of doing it btw, the fields were connected to the internal database in the company so basically I didn't have to do anything technical at that point.
but then it came the complications/limitations for example I wasn't able to auto-fill information let's say if I would search the name of a person I would want to fill his last name, phone number organization automatically, I would also like to nominee more than 1 people for a single project.
I found out that you're able to open the form in InfoPath so I did it and then I was looking for developer tap option but it just disappear every time I open up the form.
I was also expecting for a tree view or a binding view of the internal database where some controls were connected but I wasn't able to find anything.
I can only use the SharePoint that's already up on the intranet of the company, I don't have access to databases, therefore I can't connect to them "directly" let's say from VStudio to map data back and forth.
I understand this may not be a very technical question this more of an advice to a fellow developer I develop generally for android.
is there a way of just going around this issue?
thanks and I appreciate whoever reads this.
David,
I don't think someone is ever going to have an issue like this, but I came to the conclusion that you need access to the sharepoint server and use VS inside the server in order to code the custom list and form, having the capability to connect to internal databases.
Please ask one question per post!
I've done my research, and at first I went straight to the technical
point of view where I would just basically code a connection to
database, design the interface etc...
For this, you do not need to use Sharepoint! Use MS SQL Server
she teach me how to create a list
If you have chosen to usу Sharepoint lists then they use нтвук the MS SQL Server for storing them...
I found out that you're able to open the form in InfoPath so I did it
and then I was looking for developer tap option but it just disappear
every time I open up the form.
Please check the answer to question "Custom Code is disabled on my form/(it is a workflow form of a sp list workflow process)/ any workaround?". That is, code behind is not available in Infopath for Sharepoint List Form, it is by design.

Crytal Reports on Visual Studio 2010 note showing all column names

I´ve tried looking around stackoverflow and google and no luck...
The problem is that I´ve just installed Crytal Reports, and it seems to have installed correctly, howveer, when i try to open a table in a database, it loads the table but it´s missing one column...which in this case is the most important column, since it includes date and time of an event...
Does anyone know how i could solve this? or a work around?
Thank you very much! all help is extremely appreciated!
From this thread on SAP's forums, it appears as though this is a known issue using Crystal Reports with Oracle Timestamp columns. The recommended solution is to access the Oracle database with Crystal's native Oracle driver (rather than OLE DB, ODBC, etc).

Oracle forms10g shows blank page

I Installed Oracle forms 10g on windows7 and created a sample form . Then I start up OC4J and run the form.
What I get is a blank screen. The URL is http://user-pc:8889/forms/frmservlet
Notice that the form name is not part of the URL.
thnks
Unfortunately there could be a number of reasons why the blank screen is shown and trying to identify the problem and correct it can be difficult if not impossible without accessing your PC!
My advice is to look at similar problems on the Forms Forum on Oracle Technology Network which can be found here.
The first search results I found reporting a similar problem can be found here.
Good luck.

Resources