http://codeissue.com/issues Recent Issues - CodeIssue.com 2012-05-20T18:19:10Z http://codeissue.com/issue.php?i=i14de532c2c94f5 How to add webreference to secure password protected webservice? Mahesh De silva http://codeissue.com/profile.php?p=2098 2012-05-07T04:00:59Z 2011-05-31T14:26:10Z I am trying to web reference to a password protected secure webservice using Visual Studio. When I enter the webservice url, it ask me for user credential which I enter it but I am not able to add web reference. I get error message as: There was an error downloading 'http://webservicename/Service.asmx?WSDL'. The request failed with HTTP status 400: Bad Request. Can anyone please suggest how to add reference to secure password protected webservice using Visual Studio? I tried in both Visual Stido 2005 and 2010 http://codeissue.com/issue.php?i=i24e298cfa32df3 CRVS2010 sp1 - crdb_adoplus.dll not found Shwe Nann Thu http://codeissue.com/profile.php?p=2097 2012-05-07T01:35:40Z 2011-07-22T10:45:14Z I recently installed vs2010 on my machine and i am getting following error on reports Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified. current version of crystal report on my machine is 2011 sp1 Help!!! http://codeissue.com/issue.php?i=i24decc2d2d406a How to validate XML using schema (XSD) in C# .NET? SBajra http://codeissue.com/profile.php?p=1978 2012-04-15T20:55:11Z 2011-06-06T08:06:42Z I created a schema (XSD) for my XML file. During runtime I need to validate if the XML file is valid based on the schema that I created. Is there any way in .NET to validate XML file against schema (XSD) file? I am using C#. http://codeissue.com/issue.php?i=i44dcd2ae2dfc0e How to validate email in Visual Basic .net Antonio Sarc http://codeissue.com/profile.php?p=2092 2012-04-13T03:28:50Z 2011-05-13T08:58:10Z Hi, I need to validate email address using VB.NET. I am kind of new to VB.NET world. So, this question may be trivial to most. :) Thanks in advance. http://codeissue.com/issue.php?i=i24ee8c12a01405 Create dynamic array in C# Harshal Chaudhari http://codeissue.com/profile.php?p=2090 2012-04-11T01:47:18Z 2011-12-14T10:30:50Z I am looking for way to create dynamic array that I can easily insert/add new elements. How do I create dynamic array in C# .NET? http://codeissue.com/issue.php?i=i24e60ee0f57e94 Split alphabet character and number from alphanumeric string C# Harshal Chaudhari http://codeissue.com/profile.php?p=2090 2012-04-11T01:45:24Z 2011-09-02T10:54:07Z I have a alphanumeric string which starts with Alphabet and ends with number. I need to separate/split this string into alphabet and number. I will always have my string starting with alphabet and ending with number. There is not mix of alphabet and number. For example: CODE1234, MD2233, CA33 etc. I need to split to "CODE" and "1234". I need to separate starting alphabet part and number part. First I thought it will be easy to split this pattern of string but now I am stuck. Please help. http://codeissue.com/issue.php?i=i14f75e82395201 Difference between ScriptManager.RegisterClientScriptBlock vs ScriptManager.RegisterStartupScript? SBajra http://codeissue.com/profile.php?p=1978 2012-04-04T13:05:16Z 2012-03-30T13:06:43Z What is the difference between using ScriptManager.RegisterClientScriptBlock vs ScriptManager.RegisterStartupScript? I thought both embeds Javascript to the page during Asyc calls. Can someone please explain the difference? http://codeissue.com/issue.php?i=i84ed539398f97d Appfuse:Could not find artifact com.sun:tools:jar:1.5.0 Yogaraj Khanal http://codeissue.com/profile.php?p=2000 2012-03-30T10:32:09Z 2011-11-29T14:57:45Z Hi, My environment is like this JDK 1.6 Appfuse 2.1 I am using Maven plugin in eclipse to build the project but getting this error: Could not find artifact com.sun:tools:jar:1.5.0 Any suggestions appreciated. Thanks, MM http://codeissue.com/issue.php?i=i34e25b3b24db61 Can I merge .exe and dll into one single executable file? Kai Film http://codeissue.com/profile.php?p=2081 2012-03-09T15:04:02Z 2011-07-19T12:41:22Z I have windows .NET application with .exe which uses other .dll files. And I need to redistribute this .exe and .dlls files. and it will be nice if I can combine all .exe and .dll into one single .exe. Is there any way in .NET that I can combine multiple .exe and .dll files into single executable file? http://codeissue.com/issue.php?i=i34f590727162ee How do I generate.designer.cs file from coded ui test UIMap.uitest file SBajra http://codeissue.com/profile.php?p=1978 2012-03-08T14:28:10Z 2012-03-08T14:23:19Z How do I generate .designer.cs file from coded ui test file UIMap.uitest file? I mistakely deleted the .designer.cs file thinking it will be auto generated by Visual Studio. Please help. http://codeissue.com/issue.php?i=i14f5904c72fa58 How to stop child web.config application from inheriting parent web.config value? Sam Buchana http://codeissue.com/profile.php?p=2012 2012-03-08T14:18:12Z 2012-03-08T14:13:11Z I have a problem. I have installed ASP.NET 4.0 in IIS web site root but I do have other ASP.NET 2.0 application as virtual directory under same web site. Now the problem is, in root website I have targetFramework="4.0" in web.config but virtual directory running ASP.NET 2.0 does not understand targetFramework attribute. <compilation defaultLanguage="c#" debug="true" targetFramework="4.0"> I need to stop child virtual directory web.config to stop inheriting from parent root website web.config. http://codeissue.com/issue.php?i=i34f58fe9c40982 TFS error - The path... is already mapped in workspace SBajra http://codeissue.com/profile.php?p=1978 2012-03-08T14:07:03Z 2012-03-08T13:46:52Z I am creating a new build in Team foundation server. But I am getting workspace mapping error whenever I tried to execute. The path C:\Builds\5\TFSProject\testproject is already mapped in workspace 25_5_WIN2K100 How do I get hold of this error? Actually what happened was I had same build name created before which I deleted and trying to re-create again. http://codeissue.com/issue.php?i=i34f4e35a2ac1f7 Add Work item while checking using TF.exe SBajra http://codeissue.com/profile.php?p=1978 2012-03-08T14:03:00Z 2012-02-29T09:26:42Z Hi, I am using TFS Source control check-in policy "Work Items" to enforce attaching work items whenever someone check-in the code. It works all good but I also have MSBuild script to check-in some configuration files during the build. Is there a way to attach work items using TF.exe command line? I am using tf.exe to check-in files during the build. But I can not find a way to attach work items using tf.exe. Is this possible by any way? Thanks in advance. http://codeissue.com/issue.php?i=i34f4e21a51d9a1 TFS exception: Internal error in Custom Path Policy. Error loading the Custom Path Policy policy Elizabeth Davis http://codeissue.com/profile.php?p=2008 2012-02-29T09:24:41Z 2012-02-29T08:01:25Z I am using TFS power tool and using custom check-in policy provided with TFS power tool. I am using "Custom Path Policy" for defining check-in path for source control check-in policy. Everything works fine when I TFS with this policy in my local machine. But when I run build script to automatically check-in file in server, I am getting exception. "Internal error in Custom Path Policy. Error loading the Custom Path Policy policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.CustomPathPolicy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions: Please contact your administrator" I am not sure why it works in my local box but does not work in the server. http://codeissue.com/issue.php?i=i14f4e1fdfbddf8 ASP.NET 4.0 error - The relative virtual path 'aspnet_client/WebForms.js' is not allowed here. SBajra http://codeissue.com/profile.php?p=1978 2012-02-29T08:06:46Z 2012-02-29T07:53:51Z I am trying to convert ASP.NET form application from .NET framework 2.0 to latest 4.0. It compiles all good with .NET framework 4.0 but whenever I tried to execute my application, I get this error. "The relative virtual path 'aspnet_client/WebForms.js' is not allowed here.". I googled but can not find answer anywhere... please help....