Last post Oct 22, 2012 04:16 PM by Moret89
Oct 19, 2012 04:50 PM|Moret89|LINK
I've been getting an error in my web app ever since i published in Production Servers, but everything works in Testing Server.
Whenever a user wants to download a file, it gives them a blank page, but whenever they upload it, it gives them the error:
"The Network name cannot be found"
The stack trace got me this:
at System.Data.SqlTypes.SqlFileStream.OpenSqlFileStream(String path, Byte transactionContext, FileAccess access, FileOptions options, Int64 allocationSize)
at System.Data.SqlTypes.SqlFileStream..ctor(String path, Byte transactionContext, FileAccess access, FileOptions options, Int64 allocationSize)
at System.Data.SqlTypes.SqlFileStream..ctor(String path, Byte transactionContext, FileAccess access) at _Default.WriteFileStream(GridViewRow gvRow)
Any help is appreciated
Oct 22, 2012 03:03 AM|Angie xu - MSFT|LINK
You should check whether your Visual Studio web application project is deployed properly, you could refer this about
Web Deployment Overview for Visual Studio and ASP.NET, and this topic provides an overview of the tasks that are required to publish (deploy) a Visual Studio web application project to a server where others can access the application over the Internet.
hope it helps you.
Oct 22, 2012 04:16 PM|Moret89|LINK
Thank you, this should help me with all future deployments.
As for my error, it seems that the shared folder for filestreaming is being deleted by the servers, we had to create the folder again and then restart the SQL service. Since I have no access to the servers, I can't check why it happens.
Thank you for your help again.