
yraykar
Avatar/Signature-
Posts
42 -
Joined
-
Last visited
About yraykar
- Birthday 07/08/1977
Personal Information
-
Visual Studio .NET Version
Visual Basic .NET
-
.NET Preferred Language
VB.Net
yraykar's Achievements
Newbie (1/14)
0
Reputation
-
Hi All, I have a web application. I have selected the default settings for session state in web.config file. I am trying to add some data to Session using Session.Add. When i visit the site by giving ip address in URL it works fine for ex. http://100.100.100.100/myapp/usermgmt/login.aspx Wheras when i give the dns as below it fails http://www.myapp.com/usermgmt/login.aspx The site http://www.myapp.com is redirected for ex from 100.100.100.100 to 200.200.200.200. When i keep the Privacy Policy as low in my internet explorer it works fine, and if i keep the privacy policy as anything other than low or Accept all cookies it fails.. How do i handle this? Thanks in advance. Regards Yashasvi
-
Hi All, I have a web application developed using VS.NET 2003. I have deployed it to the target machine. I am facing a strange problem. I can login at page http://123.123.123.123/myapp/testuser/login.aspx Whereas the site for example is mapped to http://www.testuser.com and the destination for this mapping is http://123.123.123.123/myapp If i try to login using http://www.testuser.com/testuser/login.aspx then it takes the user name and password but next it goes to error page. Please tell me where am i going wrong. Thanks in advance... Regards Yashasvi
-
Host as local Hi, I was able to set the sender address (or From). But still the exchange server is receiving the "local" in the host server address. The from address is a valid user in the exchange server. Regards Yashasvi
-
Cdo Hi, It does not seem like it is the problem with the DLL. Because i tried with the System.Web.Mail stuff, and i got a 1 day delay in receiving mails. Above that when i traced the queue in Exchange server, using CDO the mails, are going to exchange server queue. But the recepients are not receiving it. So i think it is not a problem with the DLL. One more thought the Exchange server is receiving the host address of sender as "local", can this cause a problem. The sys admin thinks so, but he is not sure. Thanks Regards Yashasvi
-
Hi All, I have a helper class which uses the CDOSYS.dll for sending the mail. When i test the asp.net application using the development environment(WINXP) i get mails. When i deploy the application ontarget machine(Windows 2003), the mails go sometimes and does not go sometimes. Does Microsoft CDO for windows 2000 works on 2003. On target machine it sends the mail sporadically that is it sends sometimes and does not sometimes. The mail sending is not consistent enough. Please help me in identifying the problem. Regards Yashasvi
-
Hi All, I am trying to write setup package. The msi package will be placed on a web server and a link will be provided. When the user clicks this link, the msi package should get downloaded and start installing. I have done simple setup packages but i do not know how to go about this.I tried searching the net and found links which only talks about a web setup to deploy a web app. I need to deploy the windows application. Any links to a sample would also be helpful for me. Thanks in advance Regards Yashasvi
-
Threads Hi, Not sure whether this really helps u. You can use the Threading in .net to do the same. If you search in this forum or in internet you will find examples of threading. I am sorry i cannot search now and give a ready example but you can find it over the internet. Regards Yashasvi
-
Command Line Parameters? Hi, Could not understand properly. But if you are talking about command line parameters then use the following method: System.Environment.GetCommandLineArgs() Regards Yashasvi
-
Hi, I am working on mailer utility in an asp.net project. I used cdo's to do the same. Client wants me to send the mail through the exchange server. That is the mail being send is using the smtp server. I just want to know how do i send it to the exchange server instead of smtp server. Also is there a way to build a mass mailer. I have seen aspNET mail tool. Since the client is not agreeing upon the third party tool i want to build it on my own Thanks in advance Yashasvi
-
Hi All, I want to retrieve the object instance at runtime. I have the name of the instance in variable as following strVariable = "objEval" I thought the Activator.GetObject should give me the instance. I tried using it to create proxy object. I get an error "Trying to create proxy object of an unbound type." objEval is of type "fclsEvaluate" which is inherted by MarshalByRefObject. as follows Public Class fclsEvaluate Inherits MarshalByRefObject Please let me know what is the mistake in this. Regards Yashasvi
-
DataRow Hi, I have a table where in call for a function is stored. GetName(drRowChanged) This i will getit as a string. in variable as follows strVariable = "GetName(drRowChanged)" Since i know the object i can call the function by name using CallByName function in Microsoft.VisualBasic Namespace. drRowChanged is defined some where in the form of which i don't have the reference. I need to get the object drRowChanged. Only thing i know is the name of the object. I hope i was too short in description earlier. Regards Yashasvi
-
Please let me know if i am not putting it the way i should. Regards Yashasvi
-
Hi, I have a situation where i have to find the location of the datarow of which i have the name in string variable strVariable="drRowChanged" I wanted to know whether it is possible to get the IntPtr of the object and then try to cast it to datarow object on the fly. There is no other i can manage to do it. It's a client restriction. Struck at this point i dont understand how do i get the IntPtr of the object Please help me Regards Yashasvi
-
Hi All, I have a form in which i have declared a form level private word object variable. In the click event of the button i open the document using the word object. Also i have handled close events of word object using with event in word object declaration Private WithEvents objWord As New Word.Application Button click event is like Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click objWord.Documents.Open("C:\Documents and Settings\YashasviR\Desktop\test.doc") objWord.Visible = True End Sub I get a exception The RPC Server is unavailable when i try to open the document for the second time. It works fine first time but raises the exception second time. I don't know where i am going wrong. Thanks in advance Yashasvi
-
Hi, I have been googling around for quite a while searching a method to align the column header. I have tried column styles. But what i want is irrespective of column values the column header should be aligned. Like may be the columns are aligned to left but column header should be aligned to center Thanks in advance Yashasvi