|
You configure IIS to see the subfolder as a seperate web application.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thank you for your input.
I've placed a support ticket with my hosting provider requesting that my sub domain folder be listed as an application on their IIS server. I'm finding that Network Solutions is not very supportive relative to ASP.NET application deployments.
I noticed that discountASP.NET is listed under the "ASP.NET Web Hosting" section here on CodeProject. Do you have any exeprience with them ? I'm considering moving hosting providers if I can't get the support I need from my existing provider.
David
|
|
|
|
|
Hello,
i am using the article "Sending SMS using .NET through Web service
By Manoj Kumar C" for sending sms through web ser. but when this application
will run the output show the sms will send successfuly but the msg will not deliver
in the mobile and also not getting an e-mail.
so anybody tell me what i have done to deliver the message sucessfuly.
|
|
|
|
|
This has NOTHING to do with ASP.NET. And yet, it gets asked every day. You need to find a service that will deliver SMS in your area. Most services are unstable, or they cost money.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If use localhost to send email at first check the directory C(System Drive):\Inetpub\mailroot\Queue . do you get the email message? If not you should configure IIS correctly?
shahdat
|
|
|
|
|
What on EARTH does this have to do with the question that was asked ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
The web service that he provided for that article stopped working for almost 3 years from now.. (AFAIK)
You need to find another web service like this which can send sms. If you want it for India, you might use way2sms.
|
|
|
|
|
But don't forget, if the client is NOT in india, that webservice may not work for them.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
yes... way2sms can send sms only to indian mobiles..
I dont know if there is any service available which can send sms around the globe.
|
|
|
|
|
yeah, it's possible his code needs to be used locally, so it's good you were able to provide local info, but that's why I tell people who post here about that article ( and many do ) that they need to find something local to them for testing, and to their client for deployment.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
you are absolutely right...
Even for production, I think clients cant rely on free services.. As most of the free services doesn't guarantee sms delivery.
Cheers.
|
|
|
|
|
Abhishek Sur wrote: Even for production, I think clients cant rely on free services.. As most of the free services doesn't guarantee sms delivery.
eah, the other issue is that people who have clients paying $30 for a whole project, tend not to be willing to pay for anything. I don't see any angle that would keep a free service liquid and operating.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Christian Graus wrote: people who have clients paying $30 for a whole project
you are right...
|
|
|
|
|
why dont you use enterprise.smsgupshup.com api to send sms
i am using it and it is working fine
it cost 6 to 10 paise per sms
|
|
|
|
|
can you please tell me where to download or found assembly
crystaldesicion.enterprise.framework
as
my asp.net site contain crystal report .it works fine when i run it into server server .but the server where i have to upload does not support crystal report.
i have done lots of googling and found that to copy those dll
into my bin directory
but here i again stuk i dont found crystal.enterprise.frameework.dll
and crystaldesicion.enterprise.infostore.dll in my computer and on the google.
it is installed in c:\windows\assembly
but i dont find the acctual path
plz help me
|
|
|
|
|
If it works on your PC, then you have the dll. You can search for it, just make sure you search hidden folders as well.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
ASP.NET - ASP.NET web page timing out calling SSIS package..
jason smith posted at 09-Sep-09 12:55
Hello folks,
Here's how I am calling a SSIS package.
I have ASP.NET (3.5 version - .aspx) web page calling a WCF service. The WCF service in turn calls SSIS package running on a sql server 2005.
In debug mode, I found that after say 2 minutes, the UI page times out. The WCF service still runs the SSIS package without a problem. Please look at the config file.
Can someone give me advise/suggestions on how to increase the timeout?
Thanks
Here's my web.config file on the Web UI project.
<?xml version="1.0"?><configuration>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IQRMDMSService" closeTimeout="00:59:00" openTimeout="00:59:00" receiveTimeout="00:10:00" sendTimeout="00:59:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="6555536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
<message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost/QrmdmsServices/QRMDMSService.svc"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IQRMDMSService"
contract="QRMDMSServices.IQRMDMSService"
name="WSHttpBinding_IQRMDMSService">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>
|
|
|
|
|
well i am kinda stuck in a problem and i am new to asp.net. well my webform have 1 text box which take a string and there a button and a lebel. When i click the button it put 5 after every character of the string and shows in the lebel. So i did the following code in the button in default.axpx.cs :
char[] cArray = Textbox1.Text.ToCharArray();
for (int i = 0; i< cArray.length; i++)
{
lebel1.Text = cArray[i].ToString() +"5";
}
but its not working.. its showing only the last character with 5
any help???
|
|
|
|
|
Its Basic
char[] cArray = TextBox1 .Text.ToCharArray();
Label1.Text = "";
for (int i = 0; i < cArray.Length; i++)
{
Label1.Text = Label1.Text+cArray[i].ToString() + "5";
}
If It Helps Click It as Answer
|
|
|
|
|
This is so basic. I would suggest you to buy good book on C# and start reading.
Member 4507344 wrote: lebel1.Text = cArray[i].ToString() +"5";
lebel1.Text += cArray[i].ToString() +"5";
Good luck.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Just change it to
lebel1.Text += cArray[i].ToString() +"5";
If you set it to label, the existing content will be removed. += means it will concat with the existing string.
|
|
|
|
|
Hi All,
I have lost lot of time figuring this out.
Scenario - I have to upload an Excel file using File Upload and read the contents and insert some of the excel values in to DB.Using Asp.net and c#
Problem - Works in local machine ,but not in server. Because the server tries to read the same path as the file which was loaded in client machine and file exists in client machine only.
Limitations - Can't write or copy excel file to server.
Can any one help please.
thanking all for your help.
Cheers
Raj
|
|
|
|
|
RajiniUK wrote: Problem - Works in local machine ,but not in server. Because the server tries to read the same path as the file which was loaded in client machine and file exists in client machine only.
This because File is not getting uploaded into server.
When you run any asp.net web application from VS, it handled by VS integrated ASP.NET Engine . Which having all kind of right to store file. But when you upload the sites on server ( IIS ), its runs on default Application Pool . The default Identity of this pool is Network Service , which is having the minimum rigts to access the sites and does not have the write permission to save file on disk.
You can have two different solution,
1) Create different application pool with Local System Identity , which having write access on server and asign it to your web virtual directory.
2) Give the Write Access permission to all the user for that particular folder where you uploading the file.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hey believe me, just dont ever look at the Filepath that comes with Fileupload control.
Just use
fileupload.SaveAs(Server.MapPath(Path.Combine("\folder" + fileupload.FilePath)))
Also the folder needs access permission to asp.net if not placed within virtual directory. Also remove the readonly attribute from the folder.
|
|
|
|
|
I have a link button which is created dynamically in grid.
grid ItemCommand event not firing when I click the link button in the grid.
|
|
|
|