Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm currently creating a Web Service to call on my ASP/C# application, which has a basic SQL SELECT query from an Oracle Database.
The problem is that the Web Service file itself doesn't recognize the Oracle libraries, so I can't use any commands like OracleConnection and such, as they asked me to do so for work.
The commands itself work perfectly on C# pages, and have no issue at all. The Web Service can read SQL Commands like SqlConnect, but not OracleConnect.
Any way to fix it? Thanks.
I was also facing all same issue
so i upload the all assemble to server it resolve my problem also please check the all the references
then clean the solution and rebuild solution.
Please check the oracle version and reference dll version
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm having trouble setting up Visual Studio and my Web Service hosted on the Azure platform. My webservice needs to connect to an AzureDB.
The troubles begin when i try to Code first migrate my data models into my Azure database. I'm not sure how this is done, because when i try to do it in the Package Manager, it keeps doing it on the local database, and not on the Azure database. The guides i've found seems to be outdated, or not working with VS2019 somehow.
The update-package command picks up the connection string from your "startup" project in your solution, which is likely to be your website.
So you could update the connection string in there, and if your permissions are correct, you'll be able to deploy to the remote database.
What I would suggest is look into to doing a proper pipelined solution, where the migration runs as part of a deployment to an environment.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
How i can add code editor C#,which will compile the code in live
I tried something with Ace, but nothing so far
Thank you.
If I understand correctly, you want to propose an input to user. They had C# code (no matter what) and your server executes it.
If yes, take a look at that.
It creates a project and build it in memory before executing it.
Be careful cause if you execute the code no matter what it will be a security breach into your server. For example, someone could execute a code which will download a file onto your server and open a backdoor to it.
Check this site:
https://dotnet.microsoft.com/platform/try-dotnet
This is embeddable .Net compiler which you could use without any preparations and setups
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
The problem is figuring out a way of sending data / requests from an existing ASP.Net application to an ASP.Net Core.
The ASP.Net Core application is currently using version 2.0 framework.
I know there is a way of putting a window inside of an ASP.Net application, and I have already done this.
The issue is to find out a way to read requests, read GUID values and then perform the logic within the ASP.Net core application.
Suggestions please.
Thank you
There are many data transfer options, eg:
1) Both sites can look at the same database
2) They could communicate via an API
This question is very broad.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have made a C# Windows Forms application and connected it with Microsoft SQL Server.
I want to allow all machines in the LAN to use the program and connect to the SQL server but without having to set up the program on all the machines.
I wondered if I can do this with ASP.NET.
How do I do it? Are there any tutorials for this sort of task?
Anything on the difference between web forms, MVC Web API .. ETC.
It's very easy! Create an empty Web Forms project, drag controls onto it in the same manner you did with your desktop application. Then add your code, objects, logic, etc => see what you've got in the browser and if you like that publish it to the server and guess what?...RIGHT! Now it's accessible over the network without any need to install the desktop version.
Hope that answers your question.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to find some relevant documentation in how to open a connection using the MySQL .NET Connector and then switch databases using the USE command.
The MySQL documentation says, well, nothing. That works for console but how do I actually use this in C# code?
To connect to a MySQL server in C# you use a connectionstring to define the server, the database, the user and the password.
If you want to use multiple databases, you should create a connectionstring for each database.
Look on this site for examples of connectionstrings: http://www.connectionstrings.com/mysql.