473,397 Members | 1,974 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,397 software developers and data experts.

Webservice privilegies during debug

Sakalicek
Hi all,

can you please help me?
I have Web Service that should do some things on Postgre database.
I am using Npgsql.dll to provide functions to make connection to the database. But I am not able to make this connection.
I tried to step into the Npgsql source and found out that there is a problem when Socket socket is created.
I thought about it and got an idea that it could be in ASP privilegies.

I suppose that aspnet_wp.exe process has some wrong privilegies and thereby it cannot use win api function like to create socket.

Could someone tell me if am I wrong or what?
Or could you just help me with this problem?

Thx a lot, Zdenek.
Mar 23 '07 #1
3 1054
kenobewan
4,871 Expert 4TB
Please don't repost questions - this is already under the IIS forum. You should ask for it to be moved if you want it answered in another forum. Thanks.
Mar 23 '07 #2
Ehm sorry, but it also belongs to this forum, doesnt it?
I dot really know what to do with this so I find every help.
Z.
Mar 23 '07 #3
Frinavale
9,735 Expert Mod 8TB
Hi all,

can you please help me?
I have Web Service that should do some things on Postgre database.
I am using Npgsql.dll to provide functions to make connection to the database. But I am not able to make this connection.
I tried to step into the Npgsql source and found out that there is a problem when Socket socket is created.
I thought about it and got an idea that it could be in ASP privilegies.

I suppose that aspnet_wp.exe process has some wrong privilegies and thereby it cannot use win api function like to create socket.

Could someone tell me if am I wrong or what?
Or could you just help me with this problem?

Thx a lot, Zdenek.
You could be right about your permissions setting...but I think you'd be getting permissions error if your application wasn't permitted to use this resource... not a Socket error. This leads me to believe that there's probably another reason for your problem (although I could be wrong about this)

Are you working on a proxy? Sometimes they can cause socket errors like this.

Have you thought about using something other than Npgsql?
Maybe try using .NET's "System.Data.SqlClient" instead?

-Frinny
Mar 23 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: mekim | last post by:
Hi All, I have a solution that has a asp.net app project and webservice project in it When I debug the asp.net app...and then terminate it...the webservice is still live...and aspnet_wp.exe is...
8
by: kenneth fleckenstein nielsen | last post by:
hi guru's I want to restart my webservice when ever it throws an exception that isn't cought. can i do that by web.config or iss or how ??
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
5
by: perspolis | last post by:
Hi all I have a webservice that I want to debug it line by line.. I enabled the Debug option in WeConfig. but I can't debug that and when I set a break point for it,that dosen't work .. thanks...
1
by: Goose14 | last post by:
I have a client application and a webservice. Both are in the same solution. If I reference the local webservice and run, and step into the webservice no problem. My question is, when I want to...
0
by: Tim Bücker | last post by:
Hello everyone, i?ve got a very insistent problem trying to get remote debugging running. Really hope that someone has any ideas about this topic. Although the MSDN and some popular search...
6
by: DaveOnSEN | last post by:
Every time I make any .NET framework based webservice consumer I have the same problem: The first call my application makes to consume a webservice takes about 15 seconds. Subsequent calls are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.