|
Hi,
When I tried to use a dll created from one vb application in my vb.net project,it is giving error like "registration Failed". I have tried to register using regsvr32.Then it is hsowing registered successfully..But when I tried to add a reference it is giving the same error.
How to resolve this..Any idea/steps are much appreciated..
Thanks,
RPM.
|
|
|
|
|
hello friends : the exception is as follows :
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type System.Security.Permissions.ReflectionPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: Request for the permission of type System.Security.Permissions.ReflectionPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
System.Security.SecurityRuntime.FrameDescHelper(FrameSecurityDescriptor secDesc, IPermission demand, PermissionToken permToken) +549
System.Type.GetType(String typeName, Boolean throwOnError) +0
System.Web.Configuration.HandlerMapping..ctor(String requestType, String path, String typeName, Boolean defer) +141
System.Web.Configuration.HttpHandlersSectionHandler.InternalCreate(Object parent, XmlNode node) +506
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
on local pc , everything is working fine. I have tried options like "setting trust level full" and "adding <securitypolicy>" but both these option not work with asp.net 1.1 web.config file. also installation of .net framework is fine. plz help
regards,
max
|
|
|
|
|
first try to rename web.config on server then upload.
otherwise upload zip file the extract it on server.
|
|
|
|
|
hi friends,
may be this is not right place for magicajax but I have tried in all other forums still not getting the solution so if someone have used magicajax plz help.
The MagicAjax HttpModule is not included in web.config. Add [<httpmodules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax">] inside the <system.web> section.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: MagicAjax.MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpmodules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax">] inside the <system.web> section.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MagicAjaxException: The MagicAjax HttpModule is not included in web.config. Add [<httpmodules><add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax">] inside the <system.web> section.]
MagicAjax.MagicAjaxContext.get_Current() +123
MagicAjax.UI.AjaxControl.SetAjaxIntrinsics() +15
MagicAjax.UI.Controls.AjaxPanel.OnLoad(EventArgs e) +17
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
help plz , regards,
max
|
|
|
|
|
what is the right way either to use Stored Procedure or to use queries with in code behind File
|
|
|
|
|
Either way is fine based on the situation.
|
|
|
|
|
Hi,
I want print option in my asp.net application. When I click that button, it should directly take printout of the current page from the printer. I used Javascript: window.print(). But it saves the page and we have to take printout from that. Its working like print screen option. But i dont want that one. Please can anyone help me for this.
Thanks in Advance,
Regards,
Prya
|
|
|
|
|
window.print() is exactly what you need. However, it does not print, it just opens print dialog. Check if you have printer correctly set in this dialog. If you have Microsoft Office Document Image Writer set as a printer, then you know where is your problem...
Pilo
|
|
|
|
|
how i upload Directories/folder on FTP Server...
Plzzz Send Me some source code or Demo
|
|
|
|
|
You should be warned that just asking for source code will result in massive flaming. If you try to figure it out, post your code that you are having issues with, you might get a response. Just saying 'please send me source code' will get you NOTHING.
____________________________________________________
If at first you don't succeed, skydiving might not be for you.
|
|
|
|
|
hai,
I am working .Net 2003. Creating web application, here i am trying to binding a crystal report in an .ASPX page.
i am getting error Logon failed.
can any one help me how to avoid the error?
thank you...
by
jesu
Jesuraj
|
|
|
|
|
Well, you could be little bit more specific about where and when this error is raised, but I suppose you didn't set correct credentials for database access to retrieve data for your report. Or maybe it can be lack of credentials when accessing report repository...
Pilo
|
|
|
|
|
I have three Panel which are in same form and belongs to different tables in a database.and
my problem is,i have same Save,ADD Buttons for these three.
When i click on SAve it should check which panel and call proper add_function().
In SAveButton,My code is
If Lbladd.Text = "Addrecords" Then
If Lblcheck.Text = "Location" Then->>>>panle1
addition_Location()
ElseIf Lblcheck.Text = "Appln" Then->>>>panel2
add_appln()
endif
Only once i need to click on SAve for saving these 2 panels records.How to check and save .??I am geting problem with this.
kissy
|
|
|
|
|
Your question is too confusing. I just understand, you want to read data from particular panel after Save button is clicked, but have no clue from which and why (or what condition has influence on which panel to select). Try to be more clear...
Pilo
|
|
|
|
|
how to develop something simillar to "Add to cart" in asp.net,pls reply its very urgent
kavitha
|
|
|
|
|
|
|
Hi All
I have one datagrid.I add one string like "1:resulr" in first cell in databound event.when i add another string,it added in first cell and my first cell value added in second cell.
How to maintain First one cell value?
Thanks
monika
|
|
|
|
|
monika_vasvani wrote: I have one datagrid.I add one string like "1:resulr" in first cell in databound event.when i add another string,it added in first cell and my first cell value added in second cell.
Not clear what you want to do...
monika_vasvani wrote: How to maintain First one cell value?
If I understood it correctly then you can use global variable for that purpose.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Can you please be clear with ur problem and give more specific info
Thanks and Regards
Venkat
|
|
|
|
|
how can validate button in datagrid
thanku
|
|
|
|
|
You can use javascript code to validate the records inside datagrid while updating.
Best Regards,
Apurva Kaushal
|
|
|
|
|
which type of validation you required in datagrid?
please clear your que?
|
|
|
|
|
i have a two textbox and a button inside the grid. when i click the button i need to check the two textbox.
|
|
|
|
|
Hi all
i have Data Container having data eg CategoryName and EmployeeName i want to show the data on the aspx page the problem is that i must show the data Catogary wise in datalist or repeater. means like this
CategoryName
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName EmployeeName EmployeeName EmployeeName
CategoryName(other)
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName
Means Catefgory name must be the header for the EmployeeName Please tell me how to achieve this
|
|
|
|