473,503 Members | 2,105 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 1241
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****@discussions.microsoft.comwrote in message
news:BC**********************************@microsof t.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****@discussions.microsoft.comwrote in message
news:BC**********************************@microsof t.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
4804
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...
9
1671
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:...
5
20417
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...
0
1517
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...
7
2661
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...
9
6607
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...
2
2228
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...
4
4259
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...
3
12035
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...
0
7204
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
7282
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,...
1
6998
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
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1516
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 ...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.