Hi, i am using class System.EnterpriseServices for transaction management and i m using a strong name file keypair for strong name and keypair1.snk for strong name token and i give the key pair file name in solution explorer\Property pages\Msbuild option but when i compiled web project in debug mode its giving me error. i have paste the compelete error message. I m confused why visual studio create random files for this and why its not running from my virtual folder if some body know about this error reply me soon Best Regards Tariq Mahmood System.EnterpriseServices.RegistrationException was unhandled by user code Message="The assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\trinity\951852e9\59d35ae4\App_Code.xsmhqh4d.dll' does not have a strong name." Source="System.EnterpriseServices"
TariqMahmood
Posts
-
strong name problem -
strong name in visual studio 2005Hi, i am using class System.EnterpriseServices for transaction management and i m using a strong name file keypair for strong name and keypair1.snk for strong name token and i give the key pair file name in solution explorer\Property pages\Msbuild option but when i compiled web project in debug mode its giving me error. i have paste the compelete error message. I m confused why visual studio create random files for this and why its not running from my virtual folder if some body know about this error reply me soon Best Regards Tariq Mahmood System.EnterpriseServices.RegistrationException was unhandled by user code Message="The assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\trinity\951852e9\59d35ae4\App_Code.xsmhqh4d.dll' does not have a strong name." Source="System.EnterpriseServices" StackTrace: at System.EnterpriseServices.RegistrationDriver.InstallAssembly(RegistrationConfig regConfig, Object obSync) at System.EnterpriseServices.RegistrationHelper.InstallAssemblyFromConfig(RegistrationConfig& regConfig) at System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String partition, String& tlb, InstallationFlags installFlags) at System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String& tlb, InstallationFlags installFlags) at System.EnterpriseServices.RegistrationHelper.System.EnterpriseServices.Thunk.IThunkInstallation.DefaultInstall(String asm) at System.EnterpriseServices.Thunk.Proxy.RegisterAssembly(Assembly assembly) at System.EnterpriseServices.Thunk.Proxy.LazyRegister(Guid id, Type serverType, Boolean checkCache) at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri) at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj) at newuser.btnSubmit_Click(Object sender, EventArgs e) in E:\Tariq\Project1\Trinity\newuser.aspx.vb:line 29 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackE
-
ASP Code Migration to ASP.netI have been facing an issue for past week. Kindly look at the code if some one can sort it out. Issue is with the code. I have this ASP code. it connects to a server where java is running. It send us a response from there. and we need to run that plain html. As long as the code is in ASP running perfectly fine. But as i converted it to ASP.net it does not show any error. It load the data from the javaserver first time only. But next time if i click on any link (note these links are coming from java server). it does not refresh the contents. For examply if i click on the login link. It suppose to bring login form from server. but it does not only refreshes the page. Here is the ASP CODE <% Dim lynxUrl, queryString, lynxRequest, lynxServer, binaryData lynxUrl = "http://193.128.166.121:8080/uia/director?form\_action\_url=default.asp&UiaClient=2" queryString = Request.ServerVariables("QUERY_STRING") lynxRequest = lynxUrl & queryString response.Write lynxRequest response.Write "
Sab eik saath ehin
" 'sendLynxRequest lynxServer, lynxRequest response.Write "called SednlYnx request method
" Response.buffer=true Set lynxServer = Server.CreateObject("WinHttp.WinHttpRequest.5.1") lynxServer.Option(WinHttpRequestOption_EnableRedirects) = False response.Write "reqyest mesthogd: " & Request.ServerVariables("REQUEST_METHOD") &"
" lynxServer.Open Request.ServerVariables("REQUEST_METHOD"), lynxRequest, False 'copyHeadersFromBrowser lynxServer dim header, splitHeader, headerName, headerValue response.Write "copyHeadersFromBrowser
" response.Write "raw type :
" & Request.ServerVariables("ALL_RAW") for each header in split(Request.ServerVariables("ALL_RAW"), vbnewline) if trim(header) <> "" then splitHeader=split(header, ": ", 2) headerName=splitHeader(0) headerValue=splitHeader(1) lynxServer.setRequestHeader headerName, headerValue response.Write "h1" & headername &"=" & headerValue & "
" end if next binaryData = Request.binaryRead(Request.totalBytes) lynxServer.send(binaryData) 'receiveLynxResponse lynxServer Response.Status = lynxServer.status & " " & lynxServer.statusText Response.BinaryWrite(lynxServer.responseBody) Response.flush Response.end Response = nothing --------------------------------------------- Here is the ASP.net Code <% Dim queryString, lynxRequest, binaryData As System.Object Dim lynxServer As System.Object Dim a Dim lynxUrl As Str -
Date comparisonThanks for ur comments i have solved the problem with this code SET Dateformat dmy IF GETDATE() > dbo.FormatDate('24/04/2006') BEGIN PRINT 'A' END ELSE BEGIN PRINT 'B' END Thanks Best Regards, Tariq Mahmood
-
Date comparisoni want to company that if today date is greater than do step 1 and if not than do step 2 and i m doing this IF dbo.FormatDate(GETDATE()) > dbo.FormatDate('28/04/2006') --Step 1 ELSE --Step 1 but its not proper working i can do this with year, month and day individual comparison buts not proper way to acheive task. can anyone tell me that what's the mistake in above code:) dbo.FormatDate() is a function which extract only date from date and time. Thanks
-
installtion problem on xp sp2 vs.net 2003I have reinstall windows xp with sp2 but when i click on vs.net setup its does open this program. just my mice icon shwoing processing symbol but its does not open vs.net installtion program. i have reinstall alot of time on sp1 but its not creating any problem and i have dell machine d815 board and 866 processor with 128 ram kindly reply me
-
installtion problem on xp sp2 vs.net 2003I have reinstall windows xp with sp2 but when i click on vs.net setup its does open this program. just my mice icon shwoing processing symbol but its does not open vs.net installtion program. i have reinstall alot of time on sp1 but its not creating any problem and i have dell machine d815 board and 866 processor with 128 ram kindly reply me Tariq Mahmood
-
build google/yahoo/msn like toolbar in .NetHello to every one i want to build google/yahoo/msn like toolbar which provide facility to download from a portal site and add in IE and my client perform functionality from this toolbar like search, display news etc. Please reply back as soon as. Thank you very much Tariq mahmood Software Engineer ITSEC Pvt Ltd
-
I need javascript function which take two parameters(dates) and return total years and months differenceHello, I need javascript function which take two parameters(dates) and return total years and months difference. Regards Tariq mahmood
-
asp.net stop add/update/delete when install Xp SP2my application was perfectly running before Xp Service pack2 instalation but after installation its not perform ADD/UpDate/Delete so i found this link may this will help me because its the problem of application and Ports rights . i will install again and try this tommoro thanks Buddy. http://support.microsoft.com/default.aspx?kbid=842242 Regards From Tariq Mahmood Software Engineer ITSec Pvt Ltd
-
asp.net stop add/update/delete when install Xp SP2i m using SQL Server database and asp.net version 1.1 when i install Xp Service pack 2 Add/Update/Delete and not perform basically its not establish connetion to database its not creaing connection object
-
asp.net stop add/update/delete when install Xp SP2Hello to Everyone when i install service Pack 2 in Xp system this action stop Add/Update/Delete from my asp.net application i have turned off Firewall but its also not working so please reply me thanks Regrads From Tariq Mahmood
-
Xp SP2 stop Add/Update/Delete action from asp.et aplicationHello to Everyone when i install service Pack 2 in Xp system this action stop Add/Update/Delete from my asp.net application i have turned off Firewall but its also not working so please reply me thanks Regrads From Tariq Mahmood
-
SQL Server 2005 Login Screen given errorHi all, when i start SQL Server Exress Manager it want Server Instance_________. when i enter my computer id its showing error so any buddy tell me what should i have to give on this screeen Thanks Regards from Tariq Mahmood
-
Assign string value in TextBox only display before space valuewhen i used this coding its only display string before space.After Space character it donot display so whats the error here. varEstBedTP1 = Request.form("EstBedTP1") select case varEstBedTP1 case 1 strEstBedTP1 ="Flat Bed" case 2 strEstBedTP1 ="Sloping Bed" case 3 strEstBedTP1 ="Real Bed" end select > --Any one ASP GURU Tell Regards From Tariq Mahmood
-
window.showModalDialog problem in ASP.NETwhen i used this coding to open a modal window it open a modal window but problem is that if i put a server control on this modal page i always open a new window. i also a lnkbutton but same thing occur with link button. window.showModalDialog("AddressDetails.aspx","","dialogWidth:500px;dialogHeight:500px") so currently i using the window.open but if any solution of using window.showModalDialog then this will be nice for my project. Tariq Mahmood Software Engineer ITSecurities Pvt Ltd
-
combo control appear infront of menuHello I m facing a problem in my site that when i click on menu which i build using Dreamweaver. Menu goes into back and combo control appear infront of that menu. Any body please guide me how i control this. Tariq Mahmood
-
i need javascript of my.msn.com Plz help meHello When i login to my.msn.com i really happy to see the working of drag and drop popup window so i have been get the script of open and close popup window but dgrag and drop is not downloadable so if any body know how to build this then describe please Thanks Regards from Tariq Thanks Regards form Tariq
-
autoNumber and Max+1 which is BestAutonumber and Max+1 which is Best for long term What are their advantages and disadvantages please answer these question with solid reason Tariq Mahmood Software Engineer