Z
zhuang
Dear all,
I found a very interesting thing about viewing crystal report (located
on network drive) with asp.net application.
To do the impersonation, modify web.config does not work, you have to
modify machine.config. which is not recommended. However, there is no
way around. To prove I did the impersonation properly, I did the below
test.
1. Create a txt file on same network drive
2. try to write to the txt file without using any impersonation, it
failed
3. modify web.config to do impersonation, then the application could
write to the txt file, but still failed to load crystal report.
4. modify machine.config to do impersonation, then the application
could write to the txt file, and load the crystal report.
Both impersonation are in the context of my windows account.
I use vs.2003
In theory, modify machine.config and web.config should achieve the same
effect for my web application, but impersonate machine.config, normally
is not accepted, since all the web application running on the same web
server will be impersonated.
Anyone could give me answer?
Regards,
zhuang
I found a very interesting thing about viewing crystal report (located
on network drive) with asp.net application.
To do the impersonation, modify web.config does not work, you have to
modify machine.config. which is not recommended. However, there is no
way around. To prove I did the impersonation properly, I did the below
test.
1. Create a txt file on same network drive
2. try to write to the txt file without using any impersonation, it
failed
3. modify web.config to do impersonation, then the application could
write to the txt file, but still failed to load crystal report.
4. modify machine.config to do impersonation, then the application
could write to the txt file, and load the crystal report.
Both impersonation are in the context of my windows account.
I use vs.2003
In theory, modify machine.config and web.config should achieve the same
effect for my web application, but impersonate machine.config, normally
is not accepted, since all the web application running on the same web
server will be impersonated.
Anyone could give me answer?
Regards,
zhuang