G
Guest
In ASP.net 1.1 we were using to Build path to assembly, and set return path
for dependancy
but in asp.net 2.0 use its own webserver in which i cannt the path but when
i use IIS it work but this code does not work using asp.net 2.0 temp web
server
string binPath =
HttpContext.Current.Request.PhysicalApplicationPath.TrimEnd('\\') + "\\bin\\";
string assemblyPath = binPath + "MyApp.dll"; //settings[dataType
+ "Assembly"];
string className ="MyApp.DataLayer.UserData";
//settings["DataImprovement."];
path = assemblyPath;
for dependancy
but in asp.net 2.0 use its own webserver in which i cannt the path but when
i use IIS it work but this code does not work using asp.net 2.0 temp web
server
string binPath =
HttpContext.Current.Request.PhysicalApplicationPath.TrimEnd('\\') + "\\bin\\";
string assemblyPath = binPath + "MyApp.dll"; //settings[dataType
+ "Assembly"];
string className ="MyApp.DataLayer.UserData";
//settings["DataImprovement."];
path = assemblyPath;