stets's Q&A profile
SQL Server Error: The component has inconsistent metadata
I have a Source Query with this sql set as a property expression: "SELECT Category, Server_Name, Entitle_UserID,User_SubID,Start_Time,End_Time,Entitle_User_Name,Stat_Name,Stat_Count,Stat_Type,pk,create_date,run_num,Average,Median,Maximim FROM tbl_ws_stats WHERE pk > " + (DT_STR, 100, 1252)@[pk_var] There is a message : 'The component has inconsistent metadata.' Then when I click on the Source Query: 'The component is not in a valid state. Do you want the component to fix itself automatically ' I also notice that there are no columns on the Column Mappings tab and no way to add columns. How can I correct Thanks That's correct. There are no columns. Is there any way ...Show All
Visual Studio 2008 (Pre-release) SVCUtil.exe
Hi All, I am working in WCF. Here my questio is, is it neccessary that to have Winfx SDK installed on the machine to use the SVCUtil.exe Next question, is there any advantage of using SVCUtil.exe instead of Add service reference Regards, Santha Hi, I used the command SVCUtil.exe in the command prompt under the path "C:\Windows\Framework\V3.0\Windows Communication Foundation".This is the path under which I have installed the WCF.But it does not have any SVCUtil tool but I have WSATConfig tool regards, Santha ...Show All
Visual Basic Windows registry user permission in VB.NET
Hi!!! I'm developing a windows application using the Windows Registry to save important information... this information can be changed... the problem is that when i create the registry entry using VB.NET, the restrict user can't modify this entry... this problem limit my software only to Administrator users... I'd like to know that is possible (using vb.net code) change the permissions to restrict users adding full access to the registry entry that I created... thanks so much Thanks Ahmedilyas.... I'm storing the information about how many executions the software can work (looks like Microsoft Office)... after a software execution, this number is decreased... I stored this in windows registry bec ...Show All
Connected Services Framework Can we update to Subject in ProfileManager Scenario?
Hi, I have one scenario where I want to udpdate the Subject itself. Is it possibe to do so from CSF point of view Following are my Subject, Predicate and Object. Subject: http://schemas.microsoft.com/connectedservices/pm#/ dick@contoso.com Predicate: http://schemas.microsoft.com/connectedservices/pm#UserProfile UserName Object: dick@contoso.com I want to Update the Object " dick@contoso.com " and I am able to do so. But I am using this object name as primary key in Subject to identify the user profile. Show how can I update the subject This semantic is not supported. Please refer to Connected Services Framework 3.0 Developers Guide for the requirements of UpdateProfile me ...Show All
Internet Explorer Development IE 7 opening to Run Once page with error on it.
I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. So what do you recommend I do Uninstall IE7 from my computer and download another version as I originally got the beta version. Then turn of my security center and install it. ...Show All
Visual Basic What is wrong with the ComboBox !!
Hi all, I am writting very simple event for the ComboBox... but my msgbox displays nothing. kindly have alook at my code. Public Class Form1 Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) 'Handles ComboBox1.SelectedIndexChanged If Me .ComboBox1.SelectedIndex <> -1 Then 'MsgBox(Me.ComboBox1.Text.ToString) MsgBox( Me .ComboBox1.SelectedText.ToString) End If End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn As New Data.OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\MaHMouD\Deskt ...Show All
Visual Studio Team System TFS Server Setup (Single Server): Error 28002.Error Unknown.
I am also receiving this error, and cannot get around it. Has there been a solution identified yet I've seen several other posts, but no resolution. I have 3 seperate domain user accounts as well, with domain\ TFSSetup being the one in use for the installation, and it is in the local administrator group (and it is not a local user). Running on a newly installed 2003 Server installation, and SQL Server 2k5 installed successfully as well. Here are the bottom several lines of the log file: MSI (s) (98:40) [15:04:31:343]: Executing op: RegAddValue(Name=VsEditor,Value={00000000-0000-0000-0000-000000000000},) MSI (s) (98:40) [15:04:31:343]: Executing op: RegAddValue(Name=TipProvider,Value=Microsoft.Vis ...Show All
Visual Studio Exception "Report Definitoin is not valid" when deployed to Local IIS
The report ran fine on the Web Dev Server. Deployed to local IIS using "publish website' from vs 2005 which compiles the code to dlls. Can no longer render report - got the following exception: Any idea Is precompiling the application a problem Thanks in advance for any help! ReportProcessingException: The report definition is not valid. ReportProcessingException: The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.] Microsoft.ReportingServices.ReportProcessing.ReportPublishing.Phase1(CatalogItemContext reportContext, Byte[] definition, CreateReportChunk createChunkCallback, CheckSharedDataSource checkDataSourceCallback, String& description, String& language, DataSo ...Show All
Visual Studio 2008 (Pre-release) Slide Decks and Demos from my ADO.Net Entity Framework Talk
Hi, Yesterday I gave a session in front of the Israeli Architects User Group about ADO.Net Entity Framework. The session abstract, presentation and demos can be found here . Enjoy! Guy Burstein http://blogs.microsoft.co.il/blogs/bursteg/ Nice! Maybe I will steal some of your presentation-ideas for a demo on my company ;) I saw that you could instantiate the objectContext with a connectionstring and a defaultContainer. It's hard work to get CTP:s to work, sometime I feel that I spend a lot of hours on things that wouldn't be any problem in a production version. ...Show All
Visual Studio 2008 (Pre-release) How to get the screen resolution in wpf
Hello everyone, I am developing an client/sever application using wpf and wcf, in which when i run the client application on different screen resolution, then the controls(i.e. the size) added in the xbap page changes. So i want to get the current screen resolution and make the size of controls unchangable.Can anyone help me out. the size you see on screen would change because you are changing the screen resolution. However, querying the control size should return the same value as before ...Show All
Architecture Application State in Web Farm Scenario
I have a web farm scenario wherein I need to store data say a dataset into the application cache/state. My backend is not SQL Server. The challenge is that, I know application state is ASP.Net Worker process specific. So whenever the process gets recycled so would the data. In short Application state is not durable. Now in a Web farm or a Web garden scenario there is no way I can access the Application variable from other server because of the above behavior. Is there any way to address this requirement. Would appreciate some thoughts on the same. -Sai One option is to use SQL server to store the data (as well as session state - the are several KB articles that talk about it - here is one ). ...Show All
.NET Development Web Service getting "Unable to connect to remote Server"
I have a very simple windows form with a button that calls a very simple web service. The web service should just return "true". When I run within visual studio, it works correctly and I can see the .net development server running. However, if I close visual studio and try to run the application, I get "Unable to connect to remote server". I created the web service in c# using visual studio 2005 and I selected "File System" for the location option but specified C:\Inetpub\wwwroot\TestConnection as the folder location. I am using .net 2.0, IIS 5.1, and asp.net 2.0.50727. I created a web setup project for the web service and ran the install. From IIS management, I can see the virtual directory and can browse ...Show All
Visual C++ C1083 Permission denied
Hi, I'm getting this C1083 Permission denied error when I try to build an application (console type) project A which includes files from another project B (static library type). The B project includes files from a math library C (GSL). When I build the static library B, I have no problems. The problem is when I try to build A, and it complains about having permission denied to access a folder which turns to be the folder containing the .h files of C (included by B). I hope this is clear enough, if not please tell me. I'm using XP Home Edition and files have no permissions at all. Here is the text: 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Alix\My Documents\genetic context\GSL\include' ...Show All
SQL Server Excel OLAP Report losing layout after migration
I have big numbers of OLAP Excel (Pivot tables) report and very complex. Finally I am able to move my olap database from AS 2000 to AS 2005 after fixing some know issues some specific to my database. Now the big challenge is all Excel 2002 reports should work un touched. I am using Excel Macro to update connection string in all Excel file but I can not afford to redesign all of them. Redesigning Excel report will almost kill my AS 2005 migration project. After changing pivot table connection from 2000 database to 2005 database, when I refresh pivot table I am losing my reports layout. In my "Field List" all shared dimensions and measures has exact same names after refresh. Looks it's ok for most of the dimensions b ...Show All
SQL Server SQL Native Client Connection String Problem
Hi, I have two server instances of SQL on my server MYSRVR: default (SQL 2000) and named SQLX (SQL 2005). I've been using these strings ok for the default (SQL 2000): "Server=MYSRVR; Database=mydb; Network=dbmssocn; Integrated Security=SSPI " "Server=192.168.1.128; Database=mydb; Network=dbmssocn; Integrated Security=SSPI " and these for the named (SQL 2005) "Server=MYSRVR\SQLX; Database=mydb; Network=dbmssocn; Integrated Security=SSPI " "Server=192.168.1.128\SQLX; Database=mydb; Network=dbmssocn; Integrated Security=SSPI " But then adding the SQL port 1433 works for the default: "Server=MYSRVR,1433; Database=mydb; Network=dbmssocn; Integrated Security ...Show All
