ahmedilyas's Q&A profile
SQL Server SQLAGENT CAN't START
SQLAGENT CAN't START this log: SQLServerAgent could not be started (reason: SQLServerAgent must be able to connect to SQLServer as SysAdmin, but '(Unknown)' is not a member of the SysAdmin role). I am receiving the same error. For some odd reason my sqlserveragent will not start. I am using a domain accoutn that does have access to sysadmin on sql server 2005. were you able to get this running. ...Show All
Software Development for Windows Vista Deletion of PnP drivers saved in a Repository.
Hello all, On installation of a software package Vista saves driver packages into a special folder ( %windir%\System32\DriverStore\FileRepository\), but does not delete it during uninstallation process. Is this normal situation or not Is there a way to completely remove a software from customer's system using standard deinstallation procedures and practices Surfed through MS pages, but have found no info about this, so any help will be greatly appreciated. TIA. Please post a copy of your installer logfile, I believe you'll find these in the %Username%\Local Settings\Temp directory. You'll need to use the /L logfile.txt option and run from the command line. Here's the installer docs where you'll find command line options. ...Show All
Windows Forms Catch a click outside the form
The form has no focus (in fact it doesn't get focus). The form has to know if a click happens outside the form. I'm developing a drop-down/pull-down button with a custom dialog-box as the drop object. I got all things figured out except for this one. Maybe you can investigate the Hooking of mouse messages. But it may not work if the messages are not sent to your app, that is, if you form can not get messages because of no focus, I'm not sure how to work out it. ...Show All
SQL Server Edit Matrix Subtotals
I am using a matrix to display a report.. I would like the Caine Report Column (a subtotal) to be multiplied by the corresponding factor from the left (WE: grandtotal = 206, caine report= 206*3.5=721) Caine Report Name Shift 1 Shift 3 Grand Total factor 11/01/06 Total 11/01/06 Total WE 3.5 206 206 206 206 819 819 819 819 WEOV 4 12 12 12 ...Show All
.NET Development DLLs with IIS problem?
Hi all, I have an ASP.NET application developed with VS2005 and have some references to COM assembilies (.dll files). Here is the problem I am encountering. When I run the application from VS2005 it works fine no problem at all, but when I run it through IIS the assembilies do not work. I looked at other threads in this forum with similar problems and permission issue are mentioned for those problems, but I have no idea whether this is a permission issue or a problem about registering the assembily (.dll) for the IIS. Any ideas, Hi guys, Thanks for the replies. I think I got it and it is impersonation and delegation issue. I was using impersonation, but what I needed was del ...Show All
Visual Studio Express Editions how some help fix my code?
'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage(" From@abc.com ", " To@abc.com ") Email.Subject = "test subject" Email.Body = "this is a test" Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("username", "password") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "Mail.RemoteMailServer.com" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo ...Show All
Smart Device Development WinCE 5.0 certification
Dear Sir, I have a product that is GPS navigator would like to use the WinCE 5.0 to be OS. 1. Do I need to join you for license if I would like to stick CE/Powered logo to the giftbox 2. How about cost How to join your license program process 3. Do I need to pay you any fee when I retail each product Thanks, Best Regards, AndrewChang. This forum is dedicated to device emulator. Since your question is not related to device emulator, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft. ...Show All
Visual Studio Express Editions timers
How can I add a timer to my program Like in admin center you can change the amount of time you spend on the program, then when times up in closes the program Then it wont let you on till the next day Thanks well the theory is this once the timer has been "ticked", save to a file some value, such as a boolean value or something to indicate "false" for not opening today. Or even storing today's DATE in the file. Next time you load the app, open this file, read the value stored, lets say the value stored was date, then compare today's date (DateTime.Now) with the date stored in the file. If both match, don't open it, otherwise, open it. this is just one simple solution but easily hackable - the ...Show All
Visual Studio Error Msg - BC30201: Expression expected
Please bear with me as I'm very new to Crystal Reports. I'm using crystal reports what came bundled with VisualStudio.Net 2003. I've tried to connect my report viewer to my report as outlined below: <CR:CrystalReportViewer id=CrystalReportViewer1 runat="server" Width="1022px" Height="1155px" ReportSource="<%# \\WebServer\wwwroot$\Members\CrystalReport2.rpt %>"> As a test, my report (CrystalReport2.rpt) does not read in any dynamic information, however, when i try to browse to my webpage with the viewer on it I get the following error message: Compiler Error Message: BC30201: Expression expected. Can anyone please help me as I've been unable to find a solution myself. Thanks ...Show All
SQL Server Inserting to Dimension on Failed Lookup
First, I'm very new to SSIS, so forgive any stupid questions. I'm trying to normalize some data by creating rows in a dimension table as I find new values in the original table. My first thought is to use a Lookup to replace string values with id's to the Dimension table, and when the Lookup fails, insert the value into the Dimension table with a new key. Does that make sense This would be relatively easy to do with TSQL, but surely there is a way to do this in SSIS. Thoughts Greg, Why you do not, first hand, create a default(error, unknown, etc) member in every dimension and then if the lookup fails assign the id of the default. Anyway, I think that has been disscussed in previous threads; here is one. http://forums.micr ...Show All
Visual Studio Tools for Office imageMso attribute
Hello! Does someone know the list of standard ms office images Yes, you can get it from here: 2007 Office System Document: Lists of Control IDs http://www.microsoft.com/downloads/details.aspx familyid=4329D9E9-4D11-46A5-898D-23E4F331E9AE&displaylang=en ...Show All
Windows Forms find RowIndex in DataGrid.Rows
Hi, I used one pop-up window to choose a value in a list (table A). Back to DataGrid(Bind to table B, but A and B have a same key), how can I find RowIndex of the selected row in the DataGrid instead of using foreach to check one by one. DataView also can't be used for some new DataRows are added. Thanks a lot for your help! sizhen If the rowindex in the DataTable is the same as in the datagrid, just add a PrimaryKey to the datatable. Afterwards, get the index of the row you need by using the methods IndexOf() and Find(), with the key as a parameter for the find-method. Is this what you're looking for Reinout dt.PrimaryKey = new DataColumn [] { dt.Columns[ "ID" ] }; dt.Row ...Show All
Visual Basic Posing equations
Hi I run into trouble when I wanted to test equations. Having an array of equations e.g. {"2X+3Y<=20","5Y+7X<10"....} I like to pick the equations out and test them like Dim X As Integer = 5 Dim Y As Integer = 7 Dim Eqation() As Integer = {"2X+3Y<=20","5Y+7X<10"....} if 2X+3Y<=20 and 5Y+7X<10 then .... Question: How can I pick out the equations and make VB understand that its a equation and not a text file and put it in the If function I would appriciate all help I can get, Thanks, Tomas Just because I like complex solutions :) (using the script lib is probably the best solution, but I've never tried it ...Show All
Visual Studio 2008 (Pre-release) XAML: setting BitmapImage.UriSource from binding doesn't work
The following should display a picture for a list box item: <Window.Resources> <DataTemplate x:Key="ImageTemplate"> <Image> <Image.Source> <BitmapImage UriSource="{Binding}" /> </Image.Source> </Image> </DataTemplate> </Window.Resources> <Grid> <ListBox> <ListBoxItem ContentTemplate="{StaticResource ImageTemplate}"> C:\picture.jpg </ListBoxItem> </ListBox> </Grid> ... but I get an exception: "Property 'UriSource' or property 'StreamSource' must be set." Simply using <Image Source="{Binding}"/> would work in this example, but I want to use the BitmapImage f ...Show All
Software Development for Windows Vista EventDeliveryFailedException on old workflows
I'm getting the following error , the workflow in question works fine for new instances, but after I edited the definition and redeployed it to the system old workflows give me the following error ( I added an ifelse in one of the states event handlers) 2006-11-19 00:09:03,118|[Pipe Thread 1936]|ERROR|Azdad.Hydra.ServerAPI.WorkflowEngine.WorkFlowProcessor|[]| workflow send event failed Exception: System.Workflow.Activities.EventDeliveryFailedException Message: Event "AzdadForwardEvent" on interface type "Azdad.Entity.Workflow.IAzdadWorkflowDataExchangeService" for instance id "bac2aa1a-2f35-4832-b96b-a928f8dda858" cannot be delivered. Source: System.Workflow.Activities at System.Workflow.Activities.WorkflowMe ...Show All
