locked
Blank Pages when downloading a file / Error when uploading RRS feed

  • Question

  • User1361966496 posted

    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

    Friday, October 19, 2012 4:49 PM

Answers

  • User1361966496 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 22, 2012 4:16 PM

All replies

  • User-166373564 posted

    Hi

    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.

    Regards

    Monday, October 22, 2012 3:03 AM
  • User1361966496 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 22, 2012 4:16 PM