|
If i call Web Service from same server it's working fine. If i try to call the Web Service from another server,i am getting this following error.
Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\39_bmero.0.cs' could not be found.
error CS2008: No inputs specified.
sathiya
|
|
|
|
|
Hi Sathiya,
Are you generating temporary class in your web service code? if yes than it may be referring some hardcode location for generated cs file as i can see from the error message. solution is try to trace some hard code path or provide some specific location for temporary generated class
Regards,
Swap.
|
|
|
|
|
How to find(count) number of records or rows in the datagrid?
Thanks
|
|
|
|
|
DataTable.Rows.Count
This assumes that you are binding a DataTable to a DataGrid. But if
you're binding a DataReader this approach won't work.
==========================================================
Another way RcdCount = DS.Tables("pubs").Rows.Count.ToString()
===============
postmaster
http://www.programmingknowledge.com/[^]
=
|
|
|
|
|
If your datagrid name is dg, then write
dg.Items.Count
Thanks,
Pradipta Basu
|
|
|
|
|
Hi
how can I bind the data to textbox using ASP.NET inline coding?
I have implemented data binding to dropdownlist... likewise I want to do data binding to TextBox too..
can someone please guide me?
Thanks in advance.
|
|
|
|
|
Hi there,
You should remember that the TextBox does not have the DataSource or DataSourceID properties as the DropDownList, however you can use the data binding expression to bind to the Text property of the TextBox. It looks something like:
<asp:TextBox runat="server" ID="TextBox1" Text="<%# your expression goes here %>" /> and you need to call the DataBind method.
|
|
|
|
|
|
Hi
I am trying to send mails to differetnt ppl (yahoo,gmail...etc)
But my server is rejecting some of the email address and giving this error
"The server response was: 550 5.7.1 Unable to relay for --"
In the list some of the email address only that will give but other email address how can i send
how can i over came this problum
can any one help me
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Some mail servers do reverce dns lookups on the domain where the message originates or check for MX records for that domain. If your SMTP service isn't set up properly some mail servers may reject mail coming from it.
|
|
|
|
|
Hi,
Where the Cached pages are stored in the system means in which location?
Thanks in advance
-- modified at 15:53 Monday 17th July, 2006
|
|
|
|
|
Is this a question or statement?
|
|
|
|
|
|
Then it isn't a very good question. What are you trying to ask?
|
|
|
|
|
Hi all
I am trying to send email from my application
Example Body
----------------
objMail.Body = "Hi i am "
I want to it in Bold / Color in Red how can give the code for it in
" Form1.aspx.vb " page
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Posts marked as Urgent are less likely to receive positive attention
|
|
|
|
|
Hi all
In a array i have chars(string) and numbers
How can i check it is number or string
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
You could use regular expressions to see if the array contained only numbers or not. Create a loop to go through the array.
One time in college I think we did it by looping through, converting each character to the hex format and checked that against a list of hex values that were numbers.
|
|
|
|
|
Hi
Thx
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
In VB you can use IsNumber, although you will be mocked by c# types.
E=mc2 -> BOOM
|
|
|
|
|
Simplest way is to TRY to parse each int, and catch FormatExceptions...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi,
Iam trying to implement SqlCacheInvalidation.In that I specified <%@ OutputCache Duration="120" VaryByParam="none" SqlDependency="pubsConnectionString:Authors" %>
In the SQLSependency attribute what we have to specify:First
i specified <databasename>:<tablename>
It is givimg the following exception: Cannot find the 'pubs' database in the configuration.
Latter i changed to the above
SqlDependency:"PubsConnectionString:authors",
In this case it is giving following exception:Cannot find the 'pubsConnectionString' database in the configuration.
in my WEB.CONFIG file:The connection string is like this:
add name="pubsConnectionString" connectionString="Data Source=KALSYSTE-X6VVC3\SQLEXPRESS;Initial Catalog=pubs;Integrated Security=True" providerName="System.Data.SqlClient"
What to specify in SQLDependency.
Please help me
Thanks in advance
-- modified at 13:32 Monday 17th July, 2006
|
|
|
|
|
+ Use the pubsConnectionString with the p as lower case.
+ Double check if the database pubs (Initial Catalog=pubs) exists in the specified server (Data Source).
|
|
|
|
|
Hi everybody,
i have a big problem in the deployment of a web services. pleaze can any body help with that?
i use web services to get data from my database, i have deployed my application web services, but i can't get the data...
here is the message:
GetData
Test
The test form is only available for requests from the local machine.
SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /service1.asmx HTTP/1.1
Host: www.fourthr.ma
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetData"
<soap:envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<getdata xmlns="http://tempuri.org/">
in local, i have a button wich invock getData method, but when i deploy the application it doesn't appear!!
Have an idea???
Thank you very much
|
|
|
|
|
The only thing I keep in the session is the current user ID. I'm getting ready to farm the servers and switching to NTLM authentication so I thought that I could just get rid of the session alltogether and get a performance bump. But is the hit I take from doing NTLM on each page worth it?
E=mc2 -> BOOM
|
|
|
|