none
ASP.Net error when ODBC try to access a mapped network drive RRS feed

  • Question

  • When my Asp.Net application running on IIS try to access an ODBC connection pointing to a mapped network drive, I get the following error:

    ERROR [HY024] [Microsoft][ODBC Text Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed 

    But, if I run my asp.net page via debugging using Visual Studio 2010, the connection works. So the problem seems to be some user restriction to the mapped network drive.

    I've already tried to disable UAC on my machine and it didn't work. (Is it necessary to disable UAC on the machine that contains the directory mapped?)


    • Moved by Barry Wang Tuesday, June 10, 2014 6:46 AM
    Sunday, June 8, 2014 9:51 PM

Answers

  • Hello Fernando Lorenzon,

    Please consult ASP.NET related issue on http://forums.asp.net/

    Regards,



    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, June 10, 2014 6:46 AM