开发者

RightFax Via Application Hosted on IIS

开发者 https://www.devze.com 2023-04-04 19:47 出处:网络
I\'m having an issue getting connected to our RightFax server.If I create a sample project in C# and use the code below I can connect just fine.The problem is I need the same code in an application th

I'm having an issue getting connected to our RightFax server. If I create a sample project in C# and use the code below I can connect just fine. The problem is I need the same code in an application that is on my local IIS. When it gets to OpenServer(), I get an Acces开发者_如何学Cs Denied error. Has anybody ever experienced this before? Here is the very simple code I am using...

RFCOMAPILib.User selectedUser;
RFCOMAPILib.FaxServer fxServer; ;

fxServer = new RFCOMAPILib.FaxServer();
fxServer.ServerName = "TESTServer";
fxServer.Protocol = RFCOMAPILib.CommunicationProtocolType.cpNamedPipes;
fxServer.AuthorizationUserID = "Axxxxxx";
fxServer.AuthorizationUserPassword = "";
fxServer.UseNTAuthentication = RFCOMAPILib.BoolType.False;

fxServer.OpenServer();


I solved this problem by making the process run as a domain authenticated user. Change the user that the application pool is running as and I'm sure you'll have different results.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号