Showing posts with label access. Show all posts
Showing posts with label access. Show all posts

Saturday, March 31, 2012

Web server busy

Hi, I created access database and let people checkin and checkout. I created four buttons, but every time it seems that when people clcik the second one, it gives web server is busy message. It takes quite a while to retrive the page and then check in. It seems that not many people check in at that time. Would any expert look at my code? I really appreciate it and thanks!!!!

Sub Check_Test(sender as Object, e as EventArgs)



Dim currEmpNumber As String = employeeID.Text

currEmpNumber = checkUserInput(currEmpNumber.Trim())

strSQL="Select * from Employee WHERE IDEmployee= '" & currEmpNumber & "'"



call openDB()

Dim objDR as OleDbDataReader
Dim Cmd as New OleDbCommand(strSQL, connTemp)

objDR=Cmd.ExecuteReader(system.data.CommandBehavior.CloseConnection)


While objDR.Read()
currName=ValidateInputForDB(objDR("Name"))

End While

call CloseDB()

Call OpenDB()



strSQL="Select IDEmployee from Employee WHERE IDEmployee= '" & currEmpNumber & "'"
Dim myCommand1 As New OleDbCommand(strSQL, connTemp)
currEmpID = myCommand1.ExecuteScalar()
If currEmpID = 0 Then
labelMessage.text = "<blockquote><font size=6 color='blue'><b>* Wrong No! Please try again!</font>"
labelMessage1.visible=false


Else
Dim myCountEmployee as Int32 = 0


strSQL="Select count(*) from Clock WHERE IDEmployee= '" & currEmpNumber & "' and serverDate = '" & currServerDate & "'"
Dim myCommand3 As New OledbCommand(strSQL, connTemp)
myCountEmployee = myCommand3.ExecuteScalar()


If myCountEmployee = 0 Then

labelMessage.text = "<blockquote><font size=6 color='blue'><b>* Sorry! </font>"
labelMessage1.visible=false
else

If myCountEmployee > 0 Then

strSQL="UPDATE Clock SET OutWork1 = '" & currServerTime & "' WHERE IDEmployee= '" & currEmpNumber & "' and serverDate = '" & currServerDate & "' and Outwork1 = '' "

call InsertUpdate(strSQL)

call CloseDB()

End IF
end if
end if
labelMessage1.text ="Bye, " & cstr(currName) &"!" & " "


End Sub

hi,

i'm not an expert, i'm neither familiar with VB. I'm coding in c#, but it looks to me that you don't close the db connection every time.

If myCountEmployee > 0 Then

strSQL="UPDATE Clock SET OutWork1 = '" & currServerTime &"' WHERE IDEmployee= '" & currEmpNumber & "' and serverDate= '" & currServerDate & "' and Outwork1 = '' "

call InsertUpdate(strSQL)

call CloseDB()

End IF

it think the connection is closed only when there are any employees ?

And it is opened before the if, so it should be closed not in the if clause.

If my assumption is right, it is possible to run out of sql connections very soon, which may causes your problem.

If i'm wrong sorry for puzzling you more :)

Cheers,

Yani

Web server error

Hi,

I am having a problem when I am making an ASP.Net Project. When I am making a new project, it is prompting for "Web Access Failed" and the explanation says

-----------------------------
The default Web access mode for this project is set to file share, but the project folder
at 'http://localhost/WebApplication1' cannot be opened with the path 'c:\inetpub\companyweb\WebApplication1'. The error returned was:

Unable to create Web project 'WebApplication1'. The file path
'c:\inetpub\companyweb\WebApplication1' does not correspond to the URL
'http://localhost/WebApplication1'. The two need to map to the same server location. HTTP Error 404:
Not Found

What would you like to do?
1. Retry using a different file share path
Location: c:\inetpub\companyweb\WebApplication1
2. Try to open the project with Frontpage Server Extensions
-----------------------------

I am using Windows 2003 Small Business Server Edition, I installed IIS and we are using our intranet pretty good. We are not having any problems with it. I am pretty sure that I have enough access because I am logon as an administrator. I also tried to put it in a different directory but to no avail. What seems to be the problem why I cannot make a new project in ASP.Net, any links, tutorial regarding this problem will be of great help. thank you.Windows 2003 Servers come in an extremely locked down state to begin with.
I have not tried starting a project on the server, but here is a good article that addresses your problem:
Creating ASP.NET VS.NET Projects in Windows Server 2003
gee tnx, ill try this one
oh no, i tried it but it still won't work, any other ideas? pls. help tnx

Wednesday, March 28, 2012

Web service - how to?

Hi
I would like to access an ms access database located at a web site from my
desktop via web service. Is there some information available on how to do
that? Would the web service run on a shared hosting web account?
Thanks
RegardsWhere ever the web service is running will have to have file level access to
the DB, is this possible with your setup?
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"John" <john@.nospam.infovis.co.uk> wrote in message
news:%23wQKuMDPEHA.1312@.TK2MSFTNGP12.phx.gbl...
> Hi
> I would like to access an ms access database located at a web site from my
> desktop via web service. Is there some information available on how to do
> that? Would the web service run on a shared hosting web account?
> Thanks
> Regards
>
Think of a web service as a special purpose web page with a predefined
URL and output. Let's say you wrote an ASP page that would take an ID
from the URL, get some data from the database and display it on the
screen. Now, take the URL and replace it with a special XML string,
and wrap the result up the same way and you have a web service.
The Web Service code is just another ASPX page (with a different
extension and a few more lines of code). Therefore, whatever you would
need to do to get to the database in an ASPX page, you would need to
do in a web service.
On Mon, 17 May 2004 18:19:06 +0100, "John" <john@.nospam.infovis.co.uk>
wrote:

>Hi
>I would like to access an ms access database located at a web site from my
>desktop via web service. Is there some information available on how to do
>that? Would the web service run on a shared hosting web account?
>Thanks
>Regards
>

Web service - how to?

Hi

I would like to access an ms access database located at a web site from my
desktop via web service. Is there some information available on how to do
that? Would the web service run on a shared hosting web account?

Thanks

RegardsWhere ever the web service is running will have to have file level access to
the DB, is this possible with your setup?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com

"John" <john@.nospam.infovis.co.uk> wrote in message
news:%23wQKuMDPEHA.1312@.TK2MSFTNGP12.phx.gbl...
> Hi
> I would like to access an ms access database located at a web site from my
> desktop via web service. Is there some information available on how to do
> that? Would the web service run on a shared hosting web account?
> Thanks
> Regards
Think of a web service as a special purpose web page with a predefined
URL and output. Let's say you wrote an ASP page that would take an ID
from the URL, get some data from the database and display it on the
screen. Now, take the URL and replace it with a special XML string,
and wrap the result up the same way and you have a web service.

The Web Service code is just another ASPX page (with a different
extension and a few more lines of code). Therefore, whatever you would
need to do to get to the database in an ASPX page, you would need to
do in a web service.

On Mon, 17 May 2004 18:19:06 +0100, "John" <john@.nospam.infovis.co.uk>
wrote:

>Hi
>I would like to access an ms access database located at a web site from my
>desktop via web service. Is there some information available on how to do
>that? Would the web service run on a shared hosting web account?
>Thanks
>Regards

Monday, March 26, 2012

Web Service and Flash 5

I have been asked to write my first web service to extract a number of records from an access database.

Creating a web service which extracts records isn't a problem but if the client application is a flash site then how can it make use of the dataset from the web service.

Does Flash support .net ?Yes, but not in the way you want to use it. .Net can render out OBJECT tags to a client browser, in which flash directives for the Flash plugin live. But, you don't want that. You want to get information from a .Net webservice (could be a Java webservice).

To do that, you need to use SOAP.

Flash supports XML documents though and that's all that is needed to communicate with a SOAP protocol like a .Net webservice.
http://www.flash-db.com/Translate/TranslateClient.php?page=1

web service authentication with active directory

hi!!
i have a windows app that uses web serivces to access data and i use
integrated windows to authenticate.
is it a way to authenticate with users in active directory ?
and how do i do that ?There is already a sample available in Quickstart guide...
http://samples.gotdotnet.com/quicks...reservices.aspx
Regards
Jignesh Desai
www.dotnetjini.com
"Geir Sanne" <GeirSanne@.discussions.microsoft.com> wrote in message
news:749DAF3F-6165-4699-B554-6D6E82DE52A0@.microsoft.com...
> hi!!
> i have a windows app that uses web serivces to access data and i use
> integrated windows to authenticate.
> is it a way to authenticate with users in active directory ?
> and how do i do that ?
hi!!
i tried the guide, but it didnt help me.
ive tried to use WSE and the UsernameTokenManager.
This works fine, except that if i dont pass any UsernameToken to the service
the user is acceptet. You know how to make the webservice call the
UsernameTokenManager even if a UsernameToken isnt passed ?
regards
geir sanne
"Jignesh Desai" wrote:

> There is already a sample available in Quickstart guide...
> http://samples.gotdotnet.com/quicks...reservices.aspx
> Regards
> Jignesh Desai
> www.dotnetjini.com
>

web service authentication with active directory

hi!!

i have a windows app that uses web serivces to access data and i use
integrated windows to authenticate.
is it a way to authenticate with users in active directory ?
and how do i do that ?There is already a sample available in Quickstart guide...

http://samples.gotdotnet.com/quicks...reservices.aspx

Regards
Jignesh Desai
www.dotnetjini.com

"Geir Sanne" <GeirSanne@.discussions.microsoft.com> wrote in message
news:749DAF3F-6165-4699-B554-6D6E82DE52A0@.microsoft.com...
> hi!!
> i have a windows app that uses web serivces to access data and i use
> integrated windows to authenticate.
> is it a way to authenticate with users in active directory ?
> and how do i do that ?
hi!!

i tried the guide, but it didnt help me.

ive tried to use WSE and the UsernameTokenManager.
This works fine, except that if i dont pass any UsernameToken to the service
the user is acceptet. You know how to make the webservice call the
UsernameTokenManager even if a UsernameToken isnt passed ?

regards
geir sanne

"Jignesh Desai" wrote:

> There is already a sample available in Quickstart guide...
> http://samples.gotdotnet.com/quicks...reservices.aspx
> Regards
> Jignesh Desai
> www.dotnetjini.com
>

Web Service created using 2003/2005 then access using PHP

We are having issues using a Web Service created in 2003/2005 when writing a PHP web app.
Is there anything special that needs to be done to allow PHP to use .NET web services?
WokaThe rrr we are getting is "request format is unrecognized"
Woka
You need to find the machine.config file on the web server and edit it and unremark the Post and Get bits.

<Protocols>
<add name="HttpSoap1.2"/>
<add name="HttpSoap"/>
<!--<add name="HttpPost"/>-->
<!--<add name="HttpGet"/>-->
<add name="HttpPostLocalhost" />
<add name="Documentation"/>
</protocols>

Thanks to Mike Hilder for this.
http://www.vbforums.com/showthread.php?t=283207

Woka
If you want,

SOAP for PHP (pear.php.net/package/SOAP)

Web service error

Hi!

Recently installed this working web service onto another server and I
am getting this new error when I try to access it. This dll it is complaining
about is a mystery to me. I can find no reference to it anywhere.

I use the invoke button on the web service info page to test it. My normal
app fails to access it too.

Help!

Thanks, Chris

System.IO.FileNotFoundException: File or assembly name _0hbq43i.dll, or one of its dependencies, was not found.
File name: "_0hbq43i.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings)
at System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type, LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINNT\TEMP\_0hbq43i.dll
LOG: Appbase = file:///c:/inetpub/wwwroot/wss
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINNT/TEMP/_0hbq43i.dll.Does the server have the same version of the Framework that you developed on?
http://www.error-bank.com/microsoft.public.dotnet.framework.webservices_2023c1c9.0403071920.2a495120@.posting.google.com_Thread.aspx

Solution: According to this forum and my test setting so everyone account has
full control on winnt/temp works.

Thanks for taking a look!

Saturday, March 24, 2012

Web service problem

Hi all,

I have another question regarding webservices. I have one set up to access the active directory. As a test i have put in the following code as a method to see if it works.

[WebMethod(Description="Test function to test AD access")]
public string testFunction(string username, string pwd)
{
string testStr = string.Empty;
DirectoryEntry de = new DirectoryEntry("LDAP://DC=optos,DC=eye" ,username ,pwd);
foreach(DirectoryEntry child in de.Children)
{
testStr = testStr + "<BR>" + child.Name.ToString();
}

return testStr;
}

I have a similar piece of code on the form where i call the web service for, and this is where the problem lies.

The code runs fine on the form which calls the web service. When i call the web service however i get the following error:

<i>"Server was unable to process request. --> The specified domain either does not exist or could not be contacted"</i>

The security on the main form is set to impersonate=true and anonymous access has been removed from the IIS properties for the app. On the web service, again impersonte=true but this time anonymous is checked. When it is unchecked i get Access denied errors.

Does anyone have any ideas why this is happening.

Thanks,

GrantWeb services don't run under the context of the logged in user. They run under the context of the caller. This means that you will need to pass credentials to the web service.

http://support.microsoft.com/default.aspx?scid=kb;en-us;813834
Hi Mendhak,

That was a seriously quick response, thank you.

I'll look over the link and see if i can't get something working. I'll post back either way to let you know.

Cheers

Grant
Thanks Mendhak, that worked perfectly.

Thursday, March 22, 2012

web service remote access database

Hey all.

Ive got Server 1 running IIS
Server 2 is my database server, running SQL + access databases

i just wrote a webservice to handle data to and from an access database, however i am getting some security issues saying the following

<?xml version="1.0" encoding="utf-8" ?>
<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d1p1:type="q1:string" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/WSMarketingSubscriber/Service1">System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file '\\dbserver\Databases\Db1.mdb'. It is already opened exclusively by another user, or you need permission to view its data. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at WSMarketingSubscriber.WSMarketingDI.Unsubscribe() in E:\Inetpub\wwwroot\WSMarketingSubscriber\WSMarketingDI.vb:line 46</anyType>


Can any one tell me what user account i need for the access database, in order for my webservice to work.....

Many ThanksOK ive done some checking and move the access db to local machine tested and it worked fine, so its got something to do with security account, i blocked the asp.net system account from the local access db and it gave same error, so when unblocked it worked fine, question is now how do i get the asp.net account to work on server 2

Web Service SOAP Question

i have created a web service with one method which returns a code. i
am currently trying to access the return value of this method through
a page which has not got the proxy.dll referenced. i.e. as if this
request is from an external company. at the moment my method is
returning the whole SOAP return message as a string. 2 questions
please:

1. how do i just get the value of the node CLIENTCODE. this is the
return parameter of my web service method so this is all i am
interested in, not the whole SOAP message.

2. my code below does not use the SoapExtension class. is my code
below wrong? is there a better way to send and receive data using
SOAP?

here is my method:

XmlDocument doc = new XmlDocument();
doc.Load(xmlfile);
HttpWebRequest req = (HttpWebRequest)
WebRequest.Create(@dotnet.itags.org."http://localhost/test/webservicebridge/bridgeservice.asmx");
if (proxy != null)
req.Proxy = new WebProxy(proxy, true);
req.Headers.Add("SOAPAction",
@dotnet.itags.org."http://localhost/webservices/GetClientCode");
req.ContentType = "text/xml;charset=\"utf-8\"";
req.Accept = "text/xml";
req.Method = "POST";
Stream stm = req.GetRequestStream();
doc.Save(stm);
stm.Close();
WebResponse resp = req.GetResponse();
stm = resp.GetResponseStream();
StreamReader r = new StreamReader(stm);
string s = (r.ReadToEnd());You're going to a lot of unnecessary trouble here. The .Net platform has
built-in functionality for consuming Web Services. Basically, a Web Service
is a remote method call. A .Net method returns an object, whether that
object is a string, an integer, a class, or any other data type. In other
words, a Web Service returns an object in the same way that any other method
returns an object. The only difference is that the return value of a Web
Method is serialized. You de-serialize it back into an object. However, the
..Net framework has built-in functionality for doing this transparently. The
following is an MSDN article which demonstrates consuming a DataSet from a
Web Service. Note, however, that the return type isn't important. The
methodology is the same:

http://msdn.microsoft.com/library/d...mwebservice.asp

If you have Visual Studio.Net, creating your proxy is rather simple to do as
well. It is done by adding a Web Reference to your References. Visual
Studio.Net will build the proxy for you.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Wee Bubba" <martinthrelly@.yahoo-dot-com.no-spam.invalid> wrote in message
news:412620e3$1_1@.Usenet.com...
> i have created a web service with one method which returns a code. i
> am currently trying to access the return value of this method through
> a page which has not got the proxy.dll referenced. i.e. as if this
> request is from an external company. at the moment my method is
> returning the whole SOAP return message as a string. 2 questions
> please:
> 1. how do i just get the value of the node CLIENTCODE. this is the
> return parameter of my web service method so this is all i am
> interested in, not the whole SOAP message.
> 2. my code below does not use the SoapExtension class. is my code
> below wrong? is there a better way to send and receive data using
> SOAP?
> here is my method:
> XmlDocument doc = new XmlDocument();
> doc.Load(xmlfile);
> HttpWebRequest req = (HttpWebRequest)
WebRequest.Create(@."http://localhost/test/webservicebridge/bridgeservice.asm
x");
> if (proxy != null)
> req.Proxy = new WebProxy(proxy, true);
> req.Headers.Add("SOAPAction",
> @."http://localhost/webservices/GetClientCode");
> req.ContentType = "text/xml;charset=\"utf-8\"";
> req.Accept = "text/xml";
> req.Method = "POST";
> Stream stm = req.GetRequestStream();
> doc.Save(stm);
> stm.Close();
> WebResponse resp = req.GetResponse();
> stm = resp.GetResponseStream();
> StreamReader r = new StreamReader(stm);
> string s = (r.ReadToEnd());
"Wee Bubba" <martinthrelly@.yahoo-dot-com.no-spam.invalid> wrote in message
news:412620e3$1_1@.Usenet.com...

> here is my method:

Aren't you using Visual Studio? If you are, there's really no need for you
to do any of this, as it's all taken care of for you...

Web Service SOAP Question

i have created a web service with one method which returns a code. i
am currently trying to access the return value of this method through
a page which has not got the proxy.dll referenced. i.e. as if this
request is from an external company. at the moment my method is
returning the whole SOAP return message as a string. 2 questions
please:
1. how do i just get the value of the node CLIENTCODE. this is the
return parameter of my web service method so this is all i am
interested in, not the whole SOAP message.
2. my code below does not use the SoapExtension class. is my code
below wrong? is there a better way to send and receive data using
SOAP?
here is my method:
XmlDocument doc = new XmlDocument();
doc.Load(xmlfile);
HttpWebRequest req = (HttpWebRequest)
WebRequest.Create(@dotnet.itags.org."http://localhost/test/webservicebridge/bridgeservice.asm
x");
if (proxy != null)
req.Proxy = new WebProxy(proxy, true);
req.Headers.Add("SOAPAction",
@dotnet.itags.org."http://localhost/webservices/GetClientCode");
req.ContentType = "text/xml;charset=\"utf-8\"";
req.Accept = "text/xml";
req.Method = "POST";
Stream stm = req.GetRequestStream();
doc.Save(stm);
stm.Close();
WebResponse resp = req.GetResponse();
stm = resp.GetResponseStream();
StreamReader r = new StreamReader(stm);
string s = (r.ReadToEnd());You're going to a lot of unnecessary trouble here. The .Net platform has
built-in functionality for consuming Web Services. Basically, a Web Service
is a remote method call. A .Net method returns an object, whether that
object is a string, an integer, a class, or any other data type. In other
words, a Web Service returns an object in the same way that any other method
returns an object. The only difference is that the return value of a Web
Method is serialized. You de-serialize it back into an object. However, the
.Net framework has built-in functionality for doing this transparently. The
following is an MSDN article which demonstrates consuming a DataSet from a
Web Service. Note, however, that the return type isn't important. The
methodology is the same:
http://msdn.microsoft.com/library/d...mwebservice.asp
If you have Visual Studio.Net, creating your proxy is rather simple to do as
well. It is done by adding a Web Reference to your References. Visual
Studio.Net will build the proxy for you.
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Wee Bubba" <martinthrelly@.yahoo-dot-com.no-spam.invalid> wrote in message
news:412620e3$1_1@.mcse.ms...
> i have created a web service with one method which returns a code. i
> am currently trying to access the return value of this method through
> a page which has not got the proxy.dll referenced. i.e. as if this
> request is from an external company. at the moment my method is
> returning the whole SOAP return message as a string. 2 questions
> please:
> 1. how do i just get the value of the node CLIENTCODE. this is the
> return parameter of my web service method so this is all i am
> interested in, not the whole SOAP message.
> 2. my code below does not use the SoapExtension class. is my code
> below wrong? is there a better way to send and receive data using
> SOAP?
> here is my method:
> XmlDocument doc = new XmlDocument();
> doc.Load(xmlfile);
> HttpWebRequest req = (HttpWebRequest)
>
WebRequest.Create(@."http://localhost/test/webservicebridge/bridgeservice.asm
x");
> if (proxy != null)
> req.Proxy = new WebProxy(proxy, true);
> req.Headers.Add("SOAPAction",
> @."http://localhost/webservices/GetClientCode");
> req.ContentType = "text/xml;charset=\"utf-8\"";
> req.Accept = "text/xml";
> req.Method = "POST";
> Stream stm = req.GetRequestStream();
> doc.Save(stm);
> stm.Close();
> WebResponse resp = req.GetResponse();
> stm = resp.GetResponseStream();
> StreamReader r = new StreamReader(stm);
> string s = (r.ReadToEnd());
>
"Wee Bubba" <martinthrelly@.yahoo-dot-com.no-spam.invalid> wrote in message
news:412620e3$1_1@.mcse.ms...

> here is my method:
Aren't you using Visual Studio? If you are, there's really no need for you
to do any of this, as it's all taken care of for you...

web services

I have created some simple web services.

How can I access these from my web page code?

Any examples would be great, thanksnevermind found some samples.

check this out http://www.devcity.net/net/article.aspx?cid=8&y=2002&m=3&d=19

Monday, March 12, 2012

Web Services security

Hi

2000 Server IIS 5

I have a web service using anonymous access, however I need to be able to
output to a log file.

I've got a log.txt file in the same directory but I keep getting errors when
trying to write to the file, I've tried adjusting the permissions
accordingly but they don't seem to make any difference.

Any suggestions?
Thanks
KevIt's ok I've sorted this now.

Kev

"Mantorok" <mantorok@.mantorok.com> wrote in message
news:e5hnvn$hh4$1@.newsfeed.th.ifl.net...
> Hi
> 2000 Server IIS 5
> I have a web service using anonymous access, however I need to be able to
> output to a log file.
> I've got a log.txt file in the same directory but I keep getting errors
> when trying to write to the file, I've tried adjusting the permissions
> accordingly but they don't seem to make any difference.
> Any suggestions?
> Thanks
> Kev

Web Services security

Hi
2000 Server IIS 5
I have a web service using anonymous access, however I need to be able to
output to a log file.
I've got a log.txt file in the same directory but I keep getting errors when
trying to write to the file, I've tried adjusting the permissions
accordingly but they don't seem to make any difference.
Any suggestions?
Thanks
KevIt's ok I've sorted this now.
Kev
"Mantorok" <mantorok@.mantorok.com> wrote in message
news:e5hnvn$hh4$1@.newsfeed.th.ifl.net...
> Hi
> 2000 Server IIS 5
> I have a web service using anonymous access, however I need to be able to
> output to a log file.
> I've got a log.txt file in the same directory but I keep getting errors
> when trying to write to the file, I've tried adjusting the permissions
> accordingly but they don't seem to make any difference.
> Any suggestions?
> Thanks
> Kev
>