Create New Account
help
Hi, I have a SSAS project I want to deploy it. But There is an error like Error :The project could not be deployed to the 'localhost' server because of the following connectivity problems : A connection cannot be made. Ensure that the server is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server. i m not able to deploy. Plz tell me wht are the configuration of this http: / / msdn.microsoft.com / en-us / library / ms175672.aspx For cube building, you can use SQL Server 2000 Analysis Services, SQL Server 2005 Analysis Services, or SQL Server 2008 Analysis Services. This
document public void connect() { ckuser = Session[ "id" ].ToString(); ckpass = Session[ "pw" ].ToString(); try { this .req = (HttpWebRequest)WebRequest.Create( "http: / / wwwd.way2sms.com / auth.cl" ); this .req.CookieContainer = new CookieContainer(); this .req response = (HttpWebResponse) this .req.GetResponse(); this .cookieCntr = this .req.CookieContainer; this .response.Close(); this .req = (HttpWebRequest)WebRequest.Create( "http: / / wwwd.way2sms.com / / jsp / InstantSMS.jsp?val = 0" ); this .req.CookieContainer = this responseee = responseee.Replace( " \ "" , "" ).Replace( "> " , "" ).Trim(); this .response.Close(); pnlsend.Visible = true ; lblErrormsg.Text = "connected" ; } catch (Exception) { lblErrormsg.Text = "Error connecting to the server. . ." ; Session[ "error" ] = "Error connecting to the server. . ." ; Server.Transfer( "smslogin.aspx" ); } } public void sendSms( string mbno, string mseg) { if ((mbno ! = "" ) && (mseg ! = "" )) { try
tional.dtd "> <html xmlns = " http: / / www.w3.org / 1 999 / xhtml " > <head id = "Head1" runat = "server"> <title> Untitled Page< / title> < / head> <body> < / body> < / html> using System; using System.Xml; using System.IO; using System.Net; using System.Configuration; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Xml.Schema; using System.Xml.XPath; using System.Net Read(B , 0, B.Length); FormData = System.Text.ASCIIEncoding. ASCII.GetS tring(B); / / Check Request Server Variables if (Request.ServerVariables[" REQUEST_ME THOD"].ToU pper() ! = "POST") RETURN_CODE = (int)ResponseCodes.Invalid RequestMet hod null; RETURN_CODE = DBCRUID.InsertIntoDBCheckR esponse(Ms gHeader, OrdResponse, Request.ServerVariables["R EMOTE_ADDR "].ToStrin g()); } catch (Exception ex) { RETURN_CODE = (int)ResponseCodes.Invalid XMLData; RETURN_ERROR_TEXT + = ex.Message + "<br> "; } Response.Clear(); Response.ContentType = "text xhtml1-transitional.dtd"> < html xmlns = "http: / / www.w3.org / 1999 / xhtml" > < head id = "Head1" runat = "server"> < title > Untitled Page < / title > < / head > < body > < form id = "form1" runat = "server"> < div > < / div > < / form > < / body > < / html > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = using System; using System.Xml; using System.IO; using System Net; using System.Configuration; using System.Data; using System.Data.Sql; using System.Data.SqlClient; using System.Xml.Schema; using System.Xml.XPath; using System.Net InputStream.Read(B, 0, B.Length); FormData = System.Text. ASCIIEncoding .ASCII.GetString(B); / / Check Request Server Variables if (Request.ServerVariables[ "REQUEST_METHOD" ].ToUpper() ! = "POST" ) RETURN_CODE = ( int ) ResponseCodes .InvalidRequestMethod; / / if not invalid request
mobile nos selected by user. The message has to be fetched from a table of Sql server 2005 database. The sms should be sent in 2 ways- 1) Through sms gateway 2 above mentioned ways. Thanks in advance. Hi, ans to your first question using System.Net; HttpWebRequest request = WebRequest .Create( "http: / / www.sms.ac?mobileno = 91989000989000&msg = Hi+there" ); HttpWebResponse response = ( HttpWebResponse detailed explaination on how to go about your requirement of sending SMS in .Net using SQL server too. . . http: / / www.codeproject.com / KB / database / SMS_message_from_SQL.aspx forums.msdn.microsoft.com / en / csharpgeneral com / xmstoolkit / howto / smpp / vcnet / groups.google.com.fj / group / DotNetDevelopment / msg / f96f900aa601728d System.Net.WebException was caught Message = "The remote server returned an error: (403) Forbidden." Source = "System" Hi, The url I have given is " http: / / www.sms.ac
looking at this so long I'm missing the obvious! Unfortunately there is still an error (error 400 meaning that it's a syntax error) thanks loads for replying though! Can anyone else help?! Hi Gina, How about the closing 1" & "< / urn:schemas:httpmail:read> " & _ "< / d:prop> < / d:set> " & _ "< / d:propertyupdate> " An unhandled exception of type 'System.Net.WebException' occurred in system.dll On the highlighted line: ' Build the SQL query. strQuery2 = "<?xml version = ""1.0""?> " & _ "<D:propertyupdate xmlns:D = ""DAV:"" > " & _ "<D:set a new CredentialCache object and fill it with the network ' credentials required to access the server. MyCredentialCache = New System.Net.CredentialCache MyCredentialCache.Add(New System.Uri(strRootURI), _ "Basic", _ New System.Net.NetworkCredential(strUserName, strPassword, strDomain) _ ) ' Create the SEARCH HttpWebRequest object. Request1 = CType(System.Net.WebRequest.Create(strRootURI), _ System.Net.HttpWebRequest) ' Add the network