Click here to Skip to main content
15,913,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with gridview buttonfield Pin
Ramesh Swaminathan11-May-09 22:07
Ramesh Swaminathan11-May-09 22:07 
QuestionProblem with gridview Pin
sarang_k11-May-09 20:15
sarang_k11-May-09 20:15 
AnswerRe: Problem with gridview Pin
Ramesh Swaminathan11-May-09 20:40
Ramesh Swaminathan11-May-09 20:40 
Questionhow to direct web.config to use sections in subfolders Pin
nithydurai11-May-09 19:56
nithydurai11-May-09 19:56 
AnswerRe: how to direct web.config to use sections in subfolders Pin
Ramesh Swaminathan11-May-09 20:45
Ramesh Swaminathan11-May-09 20:45 
GeneralRe: how to direct web.config to use sections in subfolders Pin
nithydurai11-May-09 21:16
nithydurai11-May-09 21:16 
Questionopen an access application from web access denied error Pin
samerh11-May-09 19:41
samerh11-May-09 19:41 
AnswerRe: open an access application from web access denied error Pin
Abhijit Jana11-May-09 20:12
professionalAbhijit Jana11-May-09 20:12 
samerh wrote:
System.Diagnostics.Process.Start(System.Configuration.ConfigurationManager.AppSettings.Item("Path"))

in web.config key is:

<add key="Path" value="\\192.168.1.11\Shared\db\bdl_results.mdb">


First of all this will be always execute only on Server.

samerh wrote:
on my testing machine it is working fine but when i deploy at the customer site i get access denied error.

In local system, you are doing it from VS, and its having it own ASP.NET engine and which has sufficient permission to access, read, write files in your local system.
But when you deployed it on IIS, Its runs on "Network Services" identity, which has minimum privilege to access your system. That is the reason you are getting the error.
Resolution :
1. Give the required privilage to that file.
2. Create Own Application Pool, Change the Identity of Application Pool to "Local System" . Assign the Application Pool to your virtual Directory.

I will suggest you to go with Option 2 Smile | :)

Please let me know if any issue.

cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net

QuestionHow to avoid priniting empty pages ? Pin
I Sam Asir Aloysious11-May-09 19:37
I Sam Asir Aloysious11-May-09 19:37 
QuestionClipboard problem in ASP.NET Pin
specialdreamsin11-May-09 18:49
specialdreamsin11-May-09 18:49 
QuestionDebug Windows service Pin
Sundeep Ganiga11-May-09 18:28
Sundeep Ganiga11-May-09 18:28 
AnswerRe: Debug Windows service Pin
Abhijit Jana11-May-09 19:29
professionalAbhijit Jana11-May-09 19:29 
GeneralRe: Debug Windows service Pin
Sundeep Ganiga11-May-09 23:03
Sundeep Ganiga11-May-09 23:03 
QuestionComo crear un menu dinamico segun rol del usuario Pin
MaruLau11-May-09 17:19
MaruLau11-May-09 17:19 
AnswerRe: Como crear un menu dinamico segun rol del usuario Pin
Ramesh Swaminathan11-May-09 18:53
Ramesh Swaminathan11-May-09 18:53 
GeneralRe: Como crear un menu dinamico segun rol del usuario Pin
Ramesh Swaminathan11-May-09 18:55
Ramesh Swaminathan11-May-09 18:55 
QuestionRe: Como crear un menu dinamico segun rol del usuario Pin
MaruLau18-May-09 14:14
MaruLau18-May-09 14:14 
QuestionTextBox date validation Pin
CodingLover11-May-09 16:15
CodingLover11-May-09 16:15 
AnswerRe: TextBox date validation Pin
CodingLover11-May-09 17:03
CodingLover11-May-09 17:03 
GeneralRe: TextBox date validation Pin
Baran M11-May-09 18:48
Baran M11-May-09 18:48 
Questionselect the checkbox, can see the additional grid view! [modified] Pin
HyeRyung11-May-09 14:40
HyeRyung11-May-09 14:40 
QuestionOptimize Your db4o Techniques in 6 Pages! Pin
Lyndsey Clevesy11-May-09 11:46
Lyndsey Clevesy11-May-09 11:46 
QuestionAdd Bak file Pin
hahii11-May-09 11:07
hahii11-May-09 11:07 
AnswerRe: Add Bak file Pin
Ramesh Swaminathan11-May-09 19:07
Ramesh Swaminathan11-May-09 19:07 
AnswerRe: Add Bak file Pin
Abhijit Jana11-May-09 19:33
professionalAbhijit Jana11-May-09 19:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.