This topic is locked

Server.MapPath

7/15/2009 11:05:01 AM
ASPRunner.NET General questions
T
thecomputerguy author

For somereason when i add this to an event for connecting to another DB i get this Error:

Compiler Error Message: BC30451: Name 'Server' is not declared.
Any Idea?

T
thecomputerguy author 7/15/2009

To fix this i had to put HttpContext.Current.Server.MapPath that worked.

For somereason when i add this to an event for connecting to another DB i get this Error:

Compiler Error Message: BC30451: Name 'Server' is not declared.
Any Idea?