none
Error in test server RRS feed

  • Question

  • Please let me know how to resolve this error in Deployment server as in local server it is working fine.

    InternalServerError :: {"Message":"An error has occurred.","ExceptionMessage":"Path cannot be null.\r\nParameter name: path","ExceptionType":"System.ArgumentNullException","StackTrace":"   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)\r\n   

    Saturday, April 14, 2018 10:55 AM

Answers

  • deployment server-We have deployed our application in different server(network drive)

    local server-Current computer where i am doing development (workstation)

    From my experience this is a permissions/rights issues and not code. In my organization we coordinate with the network engineers to get permissions/right correct, never done in code. 

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by Adry 2018 Sunday, April 15, 2018 12:23 PM
    Sunday, April 15, 2018 11:17 AM
    Moderator

All replies

  • Hello,

    We have no clue to the specifics e.g. what deployment server, local server means e.g. on a network drive or on a workstation?

    With limited information it sounds like a non-code issue but instead rights/permissions on the server in question if there are no code changes.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Saturday, April 14, 2018 1:59 PM
    Moderator
  • deployment server-We have deployed our application in different server(network drive)

    local server-Current computer where i am doing development (workstation)

    Sunday, April 15, 2018 11:07 AM
  • deployment server-We have deployed our application in different server(network drive)

    local server-Current computer where i am doing development (workstation)

    From my experience this is a permissions/rights issues and not code. In my organization we coordinate with the network engineers to get permissions/right correct, never done in code. 

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by Adry 2018 Sunday, April 15, 2018 12:23 PM
    Sunday, April 15, 2018 11:17 AM
    Moderator