I am trying to access a Crystal 10 report from a VB.NET web application. If I hardcode the path as C:\reportname.rpt, then the report opens fine. However, I need the path to be based off of the server the application is running off of as it could be multiple servers. I am using the function LCase(Request.ServerVariables("SERVER_NAME")) to get the server name, so to get the path I am using
"http:// LCase(Request.ServerVariables("SERVER_NAME")) & "\reportname.rpt"
This is giving me an "unspecified error".
Does anyone know what would cause this?


Reply With Quote
