473,756 Members | 2,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception of Security with an ASP.Net Web Site

Hello,
I developped an ASP.Net Web Site in C# language. It can save the Project
Server URL, connect to Project Server and create a Project on it. I debugged
it and ran it correctly from Visual Studio 2005.
Then, I published it on the local IIS Server from Visual Studio 2005.
But I wanted to run it with Internet Explorer. I had problems to open it.
Therefore I used the same port as SharePoint.
I can open it. But when I click on the Connexion button, I have an exception
of Security. The message is described like that :
The application tried to run an operation which isn’t allowed by the
security. You must ask to your system Administrator or modify the level’s
trust of your application on configuration file.
I don’t know whether this point is caused by the rights of SharePoint, by
Project Server itself or by the rights of Windows Server 2003.
Could you help me please ?
Thank you for your help
Good bye
--
Nicole
Chef de projet - développeur
Oct 30 '07 #1
2 1252
It's most likely a sharepoint security issue since sharepoint is listening
on that port. Why are you running on sharepoint port? is this a sharepoint
application or you simply happen to have sharepoint running on the same
machine?

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$19.99
"Nicole" <Ni****@discuss ions.microsoft. comwrote in message
news:BC******** *************** ***********@mic rosoft.com...
Hello,
I developped an ASP.Net Web Site in C# language. It can save the Project
Server URL, connect to Project Server and create a Project on it. I
debugged
it and ran it correctly from Visual Studio 2005.
Then, I published it on the local IIS Server from Visual Studio 2005.
But I wanted to run it with Internet Explorer. I had problems to open it.
Therefore I used the same port as SharePoint.
I can open it. But when I click on the Connexion button, I have an
exception
of Security. The message is described like that :
The application tried to run an operation which isn't allowed by the
security. You must ask to your system Administrator or modify the level's
trust of your application on configuration file.
I don't know whether this point is caused by the rights of SharePoint, by
Project Server itself or by the rights of Windows Server 2003.
Could you help me please ?
Thank you for your help
Good bye
--
Nicole
Chef de projet - développeur

Oct 31 '07 #2
Hello M. Alvin Bruney,
Thank you for your help
I run my ASP.Net web site on another port. It's OK ! But I can't connect to
Project Server because of SharePoint's security.
When you want to connect to Project Server, you must use the common security
features of SharePoint. Therefore I have asked a question on the SharePoint
Newsgroup.
Good bye.
--
Nicole
Chef de projet - développeur
"Alvin Bruney [MVP]" wrote:
It's most likely a sharepoint security issue since sharepoint is listening
on that port. Why are you running on sharepoint port? is this a sharepoint
application or you simply happen to have sharepoint running on the same
machine?

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$19.99
"Nicole" <Ni****@discuss ions.microsoft. comwrote in message
news:BC******** *************** ***********@mic rosoft.com...
Hello,
I developped an ASP.Net Web Site in C# language. It can save the Project
Server URL, connect to Project Server and create a Project on it. I
debugged
it and ran it correctly from Visual Studio 2005.
Then, I published it on the local IIS Server from Visual Studio 2005.
But I wanted to run it with Internet Explorer. I had problems to open it.
Therefore I used the same port as SharePoint.
I can open it. But when I click on the Connexion button, I have an
exception
of Security. The message is described like that :
The application tried to run an operation which isn't allowed by the
security. You must ask to your system Administrator or modify the level's
trust of your application on configuration file.
I don't know whether this point is caused by the rights of SharePoint, by
Project Server itself or by the rights of Windows Server 2003.
Could you help me please ?
Thank you for your help
Good bye
--
Nicole
Chef de projet - développeur


Nov 5 '07 #3

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

Similar topics

10
4858
by: gregory_may | last post by:
I have an application I created called "JpegViewer.exe". It simply loads a Jpeg file and displays in on the screen. It works great, in my lab. When I am using it at a customer site, things change. Occasionally, it blows up with an Application Exception. It seems to only die at the customer site
9
1687
by: John Stemper | last post by:
I've recently moved an ASP.Net app to our deployment server after it was verified on our integration test server. On the deployment server I am now getting the following error: /*********************************************/ Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or...
5
20448
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied to the test server it won't work at all. Looks like aspnet_wp is trying to compile it for five seconds, then it stops working what so ever. The system event log gets the following entry: Application popup: aspnet_wp.exe - Application Error : The...
0
1539
by: Carl Gilbert | last post by:
Hi I am trying to get an online gallery to work (www.ngallery.org). I have managed to get it all working on my local host but I can not get it to work on my web space. The site can be found at www.gallerox.com which should re-direct to www.gallerox.com/gallerox/default.aspx I have put the bin directory in the /gallerox folder as I have a re-director
7
2705
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote server returned an error: (500) Internal Server Error." I found a post that suggested to catch the WebException to retrieve the actual HttpWebResponse object for more information. The response returned is shown below. At first I thought this was a...
9
6651
by: MR | last post by:
I get the following Exception "The data at the root level is invalid. Line 1, position 642" whenever I try to deserialize an incoming SOAP message. The incoming message is formed well and its length is 642 bytes ( I have appended it to the end of this message). I suspect that the reason may have something to do with an incorrect declaration of which class to de-serialize to. In the attached code I substituted @@@@@@@ in the code below with...
2
2252
by: KaNos | last post by:
Hello world, I've made a webservice (c# v2) to install in a server IIS 6 on a Windows 2000 last SP. We can use the webservice in local, throw the pages wich present the methods, with a windows mode connection (<authentication mode="Windows"/>) if impersonate is false (<identity impersonate="false"/>). Note that i use the administrator user to be sure. But when I change impersonate element (<identity impersonate="true"/>) a system...
4
4290
by: Alan Silver | last post by:
Hello, I have an error logging system on one of my sites, so that if an unexpected exception occurs, I get an e-mail sent. The e-mail includes the name of the page on which the exception occurred, so I can track it down. I have been getting a lot of e-mails recently showing the source of the exception as being WebResource.axd, and I'm not sure what's happening. I wonder if anyone here has any ideas.
3
12061
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type
0
9275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10040
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9846
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7248
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3359
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.