I am writing a Webservice in C# . When the Webservice is called ,it will broadcast a message with the windows API,Postmessage . And other Applications can receive this message.
developing tool:
VS2005.
the trouble:
when I debug the Webservice, running in VS2005, the message can be post out. but when I release it , and it runs in IIS, the message can't be post out.

I think there must be some troubles about security.
If someone knows,please help me.

thanks.

hwf

You iis application will run with the security account associated with its app pool.
By default this is the asp.net service account, which def wouldn't work. Change the app pool to the appropriate user for thise site.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.