Click here to Skip to main content
15,915,163 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: poplate the data from checkboxlist Pin
John-ph27-Aug-07 1:02
John-ph27-Aug-07 1:02 
AnswerRe: poplate the data from checkboxlist Pin
John-ph27-Aug-07 3:13
John-ph27-Aug-07 3:13 
QuestionADrotator not showing images, only alternate text Pin
Kunal P27-Aug-07 0:03
Kunal P27-Aug-07 0:03 
AnswerRe: ADrotator not showing images, only alternate text Pin
John-ph27-Aug-07 1:47
John-ph27-Aug-07 1:47 
GeneralRe: ADrotator not showing images, only alternate text Pin
Kunal P27-Aug-07 19:43
Kunal P27-Aug-07 19:43 
GeneralRe: ADrotator not showing images, only alternate text Pin
John-ph27-Aug-07 22:05
John-ph27-Aug-07 22:05 
GeneralRe: ADrotator not showing images, only alternate text Pin
Kunal P28-Aug-07 18:33
Kunal P28-Aug-07 18:33 
Questionanalysis services connection Pin
deathsurfer26-Aug-07 23:53
deathsurfer26-Aug-07 23:53 
I have 2 machines in the SAME domain. I can access \\sql_server\c$ in explorer without entering a username and password from the machine ws03.
If i use the software PivotView i can connect to sql_server with this string connection:

Provider=MSOLAP.3;Cache Authentication=False;Password=admin;User ID=administrator;Initial Catalog=piou;Data Source=sql_server;Impersonation Level=Impersonate;Location=sql_server;Mode=ReadWrite;Protection Level=Pkt Privacy;Auto Synch Period=20000;Default Isolation Mode=0;Default MDX Visual Mode=0;MDX Compatibility=0;MDX Unique Name Style=0;Non Empty Threshold=0;SQLQueryMode=Calculated;Safety Options=1;Secured Cell Value=0;SQL Compatibility=0;Compression Level=0;Real Time Olap=False;Packet Size=4096

When i try to use the same string connection in my code (my application is on ws03):
Dim rs As New Microsoft.AnalysisServices.Server
rs.connect("Provider=MSOLAP.3;Cache Authentication=False;Password=admin;User ID=administrator;Initial Catalog=piou;Data Source=sql_server;Impersonation Level=Impersonate;Location=sql_server;Mode=ReadWrite;Protection Level=Pkt Privacy;Auto Synch Period=20000;Default Isolation Mode=0;Default MDX Visual Mode=0;MDX Compatibility=0;MDX Unique Name Style=0;Non Empty Threshold=0;SQLQueryMode=Calculated;Safety Options=1;Secured Cell Value=0;SQL Compatibility=0;Compression Level=0;Real Time Olap=False;Packet Size=4096")

I have an error:
An existing connection was forcibly closed by the remote host
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
Stack Trace:
[SocketException (0x2746): An existing connection was forcibly closed by the remote host]
System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) +1018171
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +119

[IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +267
System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count) +194
Microsoft.AnalysisServices.DimeRecord.ForceRead(Stream stream, Byte[] buffer, Int32 length) +35
Microsoft.AnalysisServices.DimeRecord.ReadHeader() +37
Microsoft.AnalysisServices.DimeRecord..ctor(Stream stream) +100
Microsoft.AnalysisServices.DimeReader.ReadRecord() +74
Microsoft.AnalysisServices.TcpStream.GetResponseDataType() +74

[ConnectionException: A connection cannot be made. Ensure that the server is running.]
Microsoft.AnalysisServices.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession) +442
Microsoft.AnalysisServices.Server.Connect(String connectionString, String sessionId) +192
Microsoft.AnalysisServices.Server.Connect(String connectionString) +6
Autorisation5.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\a\Administration\Autorisation\Page5.aspx.vb:22
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

What can i do? i think (i hope!) i'm not very far of the solution!
Thank you!



DeathSurfer

QuestionMenu StaticSelectedStyle problem Pin
kbalias26-Aug-07 23:10
kbalias26-Aug-07 23:10 
QuestionJavascript: Handling "select" tags event Pin
mani_iips26-Aug-07 22:52
mani_iips26-Aug-07 22:52 
AnswerRe: Javascript: Handling "select" tags event Pin
Moeez Ahmed26-Aug-07 23:26
Moeez Ahmed26-Aug-07 23:26 
GeneralRe: Javascript: Handling "select" tags event Pin
mani_iips27-Aug-07 0:18
mani_iips27-Aug-07 0:18 
QuestionHow To Change Chart Data Labels In Crystal Reports Pin
Moeez Ahmed26-Aug-07 22:33
Moeez Ahmed26-Aug-07 22:33 
AnswerRe: How To Change Chart Data Labels In Crystal Reports Pin
John-ph26-Aug-07 23:14
John-ph26-Aug-07 23:14 
GeneralRe: How To Change Chart Data Labels In Crystal Reports Pin
Moeez Ahmed26-Aug-07 23:22
Moeez Ahmed26-Aug-07 23:22 
GeneralRe: How To Change Chart Data Labels In Crystal Reports Pin
John-ph26-Aug-07 23:46
John-ph26-Aug-07 23:46 
NewsRe: How To Change Chart Data Labels In Crystal Reports Pin
Moeez Ahmed27-Aug-07 2:24
Moeez Ahmed27-Aug-07 2:24 
GeneralRe: How To Change Chart Data Labels In Crystal Reports Pin
John-ph27-Aug-07 19:33
John-ph27-Aug-07 19:33 
AnswerRe: How To Change Chart Data Labels In Crystal Reports Pin
Hany Shebl15-Jun-10 21:58
Hany Shebl15-Jun-10 21:58 
QuestionHOw to dp URL encoding in asp.net Pin
indiaone26-Aug-07 22:16
indiaone26-Aug-07 22:16 
AnswerRe: HOw to dp URL encoding in asp.net Pin
Vasudevan Deepak Kumar26-Aug-07 23:51
Vasudevan Deepak Kumar26-Aug-07 23:51 
QuestionHosting ASP.NET[C#] Project [modified] Pin
razanabanu26-Aug-07 21:56
razanabanu26-Aug-07 21:56 
AnswerRe: Hosting ASP.NET[C#] Project Pin
John-ph26-Aug-07 22:15
John-ph26-Aug-07 22:15 
QuestionTelerik combobox in Vista IE 7 Pin
divyesh143226-Aug-07 21:32
divyesh143226-Aug-07 21:32 
QuestionFiles/Copy%20of%20name516.xls getting this error when opening excel file from the gridview. Pin
indiaone26-Aug-07 21:12
indiaone26-Aug-07 21:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.