473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP.NET 2.0, WSS 3.0: a ASP.NET App in Folder of WSS 3.0->Sec.Exep

Hi Newsgroup,

i have the following enviroment. On Windows 2003r2 I have

- WSS 3.0
- .Net Framework 2.0
- MSSQL 2005 Developer

This is running fine. Besides the WSS I have a small web (asp.net)
application that is accessing the MSSQL 2005 and displaying some crystal
reports. This application is doing fine, aswell.. as it is running as a
different "Website"

But.. I want to move that small application to run as a virtual directory
within the WSS folder.

WSS: http://<dns domain name of server>
Asp.Net application: http://<dns domain name of server>/applicationfolder

when I run the application from the upper shown path, it throws an exeption:

[SecurityException: Request for the permission of type
'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Obj ect demand,
StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.PermissionSet.Demand() +81
System.Data.Common.DbConnectionOptions.DemandPermi ssion() +55
System.Data.SqlClient.SqlConnection.PermissionDema nd() +39
System.Data.SqlClient.SqlConnectionFactory.Permiss ionDemand(DbConnection
outerConnection) +22
System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111

Why does the application in its own website, but not inside the website of
WSS ?!!

Thx in advance,

Sven

Jan 20 '08 #1
0 1727

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dan Crossett | last post by:
I am trying to remove the inherited rights for the group Users at the directory level \\server\share\directory. Questions: Why doesn't the code below work, or what would be a better/easier way to...
3
by: scott | last post by:
I'm creating a tree menu that uses FSO to read folders, subfolders and files. I'd like for each folder to have capabilty of being either Level 1,2,3,4 or 5 security. The 5 Levels are my security...
1
by: Faree | last post by:
Hi all, can any one come up with the code that display the images from the folder.but image should be changed for every 5 seconds.can any one com with this code. or suggest me the way to do...
1
by: Philip Wagenaar | last post by:
Hello, I am writing an application that processes xml files that are stored in a folder. The application picks up the files in a folder, processes them and then deletes them. What is the best...
2
by: daniel.navarro.murillo | last post by:
Hi all, I need to open a video player from vb.net and play on it a movie that is stored in a network folder. I'm trying with Process class but the movie file is on a protected folder and I need...
4
JimWu
by: JimWu | last post by:
As title, I'd like to add a "Everyone" group to a file and give this account a full control right. I have try to use FileSecurity class to add a account, ASPNET ,for example. code as follow: ...
2
by: jonathan184 | last post by:
Hi basically what i want this script to do is In a particular dir there are alot of files from today back to 1999 or earlier. So I am trying to have the script search this dir and sort the files...
4
by: jonathan184 | last post by:
Hi I have a perl script, basically what it is suppose to do is check a folder with files. Now the files are checked using a timestamp with the command ls -l so the timestamp in this format is...
25
by: smarty | last post by:
how to create folders/directories in C. are there any library functions for these?
9
by: Keith G Hicks | last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher" project. Starting and stopping the watcher and reading my XML file work fine. Once the watcher is started, I'm reading...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.