deViance's Q&A profile
.NET Development Deserialize - unable to find an Assembly .....
Hi, I've got a really strange error. I'm using a fairly standard method to implement the IClonable interface, basically I serialize my object to a memory stream and then stream it back again. This all works fine in the .Net runtime environment and if I use a test application. However, I need to run as a COM control inside of an HTML page (long story, but I am embedding it in the home page pane of Outlook). Anyway everything works fine except this routine. It fails when trying to deserialize with "Assembly not found". I added some debug code to load the assembly dynamically and that all works fine. It can't be a version issue as I am serializing and deserializing the same object in the same method. I've traced where the framewor ...Show All
Visual Studio Team System Load test with Unit Test
Facing the error when trying to run the load test. Error Description :Error LoadTest1 TestProject1 (Computer Name) Could not access the load test results repository: The number of rows inserted or updated by an operation on the results repository (1) did not match the expected number (-1) . Tried setting up the store repository using SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql as I am using the Sql Express. Provided the correct connection string using the "Administer test Controller" yet not able to run the Load test. Help on this highly appreciated. Thanks, Mazzie Two questions: 1. In the "Administer Test Controllers" dialog, if you bring up the ...Show All
SQL Server I HTTP access to SQL SERVER 2005 AS on Microsoft Windows XP
Hi all, I have configured an HTTP access to SQL SERVER 2005 Analysis Services on Microsoft Windows XP followinf the tutorial on http://www.microsoft.com/technet/prodtechnol/sql/2005/httpssas.mspx I configured the security settings of my virtual directory (authentication method) to anonnymous access. When I access the Analysis Server 2005 through a URL http://systems/olap/msmdpump.dll as a server name I get an error message on the webbrowser as HTTP 500 - Internal server error Internet Explorer . Could some help me since I am handing in my academic project very soon. Thanx in advance Ronald Hello Ronald. have you tried the tips provided by Edward in his blog http://www.sqljunkies.com/WebLog/ed ...Show All
SQL Server Help with converting code: VB code in SQL Server 2000->Visual Studio BI 2005
Hi all--I'm trying to convert a function which I inherited from a SQL Server 2000 DTS package to something usable in an SSIS package in SQL Server 2005. Given the original code here: Function Main() on error resume next dim cn, i, rs, sSQL Set cn = CreateObject("ADODB.Connection") cn.Open "Provider=sqloledb;Server=<server_name>;Database=<db_name>;User ID=<sysadmin_user>;Password=<password>" set rs = CreateObject("ADODB.Recordset") set rs = DTSGlobalVariables("SQLstring").value for i = 1 to rs.RecordCount sSQL = rs.Fields(0).value cn.Execute sSQL, , 128 ...Show All
SQL Server trace file
hi all, how can I read a file .trc generated by store procedure trace_build by Microsoft Thanks a lot! bye, hidme Open Profiler > File > Open > SQL Server Trace File. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development problem in arabic title when use WebDeploymentSetup.msi
i'm write asp.net 2005 and i build arabic project tilte of my page is arabic i'm setup WebDeploymentSetup.msi to merge files in bin folder as one file when i ( Add Web Deployment Project ) and upload my project after merge files in bin folder as one file by WebDeployment all arabic title of pages is show is forgain sign any one can help my to make my pages show and don't change my arabic title that after merge files in bin folder as one file by WebDeployment thanks for all ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Invoking MSBuild programmatically at runtime (editor model building and loading)
I have decided to work on a editor. For this, I have been researching on how to invoke MSBuild at runtime programmatically. I read that we can use the MSBuild API. I was wondering if anyone has managed to do this Any help is appreciated. A method I have so far is to create a .proj file each time according to the asset I am trying to build, and then call the MSBuild as an external process like this: System.Diagnostics.Process.Start("C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe test.proj"); I believe there is a better way though. This doesn't even work for me anyway. Thanks Leaf, thats a good start for me. Ok, so I am getting an error with the build with the following .proj file ...Show All
Software Development for Windows Vista Problem with SqlWorkflowPersistenceService and Hibernation
Hi This error happens when you bring a computer back from hibernation. Now you would not normaly hibernate a server machine but thinking of those using WF Runtime on a client computer (lets say with Office 12) this could pose a problem. This was caught using Beta 2 bits as we have no means atm to test it on June CTP. Message "A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)" string StackTrace " at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)\r\n at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolea ...Show All
Visual Studio Express Editions waiting without holding the thread...
hello how can I wait in VB without using the System.Threading.Thread.Sleep method because all this does is excecute and does not give the lines before and after it time to execute....like i want to turn a button the color red, and then just wait a few seconds. This is not working currently because the sleeping is happening too fast, what can I do plesae advide...shyma Try refreshing the control before the sleep command e.g. Button1.BackColor = Color.Red Button1.Refresh() Thread.Sleep(3000) ...Show All
SQL Server SQL 2005 SP1 on 64-bit cluster
When I run sp1 on the active node of a 64-bit cluster the setup just hangs when it gets to the Database services part. It does not return any errors as mentioned by others in this forum. I also do not have SqlSupport.msi in the add/remove programs (one suggestion on this forum was to uninstall it reinstall). I have let it run for up to 12 hours with no result. There is no SQL9_Hotfix_KB913090_sqlrun_sql.msp.log file only SQL9_Hotfix_KB913090.log this is the content 05/09/2006 12:41:12.274 ================================================================================ 05/09/2006 12:41:12.274 Hotfix package launched 05/09/2006 12:41:15.634 Product discovery successfully completed during the install process for DEV01 05/09/2006 12:4 ...Show All
.NET Development What did I do wrong (Getschema method in SQLServerCE)?
I have a problem with the Getschema method in the SQLServerCe namespace - I am fairly new in C# so I may have overlooked something. My problem is that I have only the C# Express edition (I don't have the mobile projects) so I am "forced" to make my own viewer for my SQL Compact databases (.sdf) as I can't use SQL server Management Studio Express for these files. However, when I use the Getschema() method in the corresponding namespace it seems to not work. This is the code I used: string connstring = @"Data Source=c:\!studiec#\betatest.sdf" ; SqlCeConnection myconn = new SqlCeConnection (@connstring); myconn.Open(); DataTable mytable = myconn.GetSchema(); I get the error "Spe ...Show All
Visual Studio 2008 (Pre-release) How to queue data which is spread in different application domains of a WCF web service?
Hello I am hosting a WCF web service within a windows service. A client continuously calls web methods of this web service and passes data to it on every call. I am not sure about this, but I assume that every call to a web method creates a new application domain on the server in which the web method does its work. I need to collect in-memory (no database) all that data from the client - which is passed during the continuous web method calls - and build a queue from it in order to process the portions of that data one after another in a given interval. So how can I queue the data which is obviously spread in different application domains It seems that I need sort of a worker process which runs in the background and collects the ...Show All
Visual Basic Zed Graph - Simple Clear question
Hi, Has anybody used Zedgraph if so can you tell me if there is a clear graph function, as i am allowing the user to add up to 4 curves and would like to have a clear button to empty the chart so the user can add 4 different charts. Many Thanks, Andy Note: - you can find the zed graph homepage at http://zedgraph.org/wiki/ or just google search zed graph – The page seems to be down at the moment though You will have better luck asking a question about a third party control at the 3rd parties web site.... http://zedgraph.org ...Show All
Visual Studio Express Editions Save selected ComboBox Value in Dataset
Hi Everyone I have a combobox manually filled with two items. I want to bind it to a dataset. So that the selected item is saved in the database and that items saved in the database are shown in the combobox. This is the code: Me.InternalExternalComboBox.DataBindings.Add(New System.Windows.Forms.Binding("SelectedValue", Me.ProcessBindingSource, "InternalExternal", True)) Me.InternalExternalComboBox.FormattingEnabled = True Me.InternalExternalComboBox.Items.AddRange(New Object() {"Intern", "Extern"}) Me.InternalExternalComboBox.Location = New System.Drawing.Point(715, 73) Me.InternalExternalComboBox.Name = "InternalExternalComboBox" Me.InternalExternalComboBox.Size = N ...Show All
Visual C# Why is fixing runtime bugs expensive?
I am a novice C# programmer. In the title “Learning C#,” the author states that it is much more expensive to fix a bug at runtime than at design time or compile time. I am wondering if it would indeed be as expensive as he says if the application goes through an SQA cycle before it is deployed. Whether you catch it at design or compile time, or rather at runtime, why would there be more or less cost involved Please shed some light on this. I think you're missing the point, TAG. Lets say there is a logical flaw in the design that would cause the resulting program to behave incorrectly in some cases. Lets say that, in order to fix this error, it would require that we change a number 10 functi ...Show All
