|
You can generate a key file by using the sn.exe utility from the Visual Studio Command Prompt. Alternatively, if you are using VS 2005 you can generate your key file from the Visual Studio IDE. Right-click your project file, select the 'Signing' tab click 'Sign the Assembly'. Create a new key file. When you build your project your output assembly will be strongly-named.
Regards
Paul
|
|
|
|
|
hi guys
im facing this peculiar problem in my VB.NET application, if i open a form in design view, this below error is generated ,,, the design view shows the below error instead of the controls
any suggestions welcomed
ErrorImage One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The path is not of a legal form.
Hide
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly()
at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String description)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String name, Boolean throwOnError)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetReferencedComponentType(String componentName, CodeTypeDeclaration codeTypeDecl, ITypeResolutionService loader, IDictionary& cache)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.ParseHandlesClauses(CodeTypeDeclaration codeTypeDecl, Boolean updateCache)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e)
at System.CodeDom.CodeMemberMethod.get_Statements()
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
winnie
|
|
|
|
|
Hi all.
I was wondering how to dynamicly change the web.config file to allow or deny users of a website.
Here i'm thinking of the:
<br />
<authorization><br />
<[allow|deny] users roles verbs /><br />
</authorization><br />
The reason for wanting to do this, is that i have coded a CMS System, and i want to give the administrator the possibility of making the website private while constructing content.
Does anyone know how to do this?
Regards
Christian
|
|
|
|
|
Here is the basic web.config settings:
<location path="subFolder">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
Where path is pointing to a subfolder in your website. Or you can point to "." for the whole web site.
Hope that helps.
Ben
|
|
|
|
|
Hi Ben
First off, i'd like to thank you for trying to help me out with my problem.
I am not sure if i made it clear enough what i want to do.
I know how to create an entry in the web.config, as you showed in your reply. What i want to do is to edit it "on-the-fly" from a web administration.
e.g., ticking a checkbox should make it say
<location path="subFolder">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
and ticking it again, make it:
<location path="subFolder">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
i hope that i have maded myself more clear now, and hope that yout can help?
-- Christian
|
|
|
|
|
Use the IIS manager?
only two letters away from being an asset
|
|
|
|
|
If your web site is .net 2.0 there are some things that you can do with a web.config. The downside is the work it takes to get the web.config to reload and see your changes and the fact that re-loading the web.config will re-start the site which will affect everyone currently logged in. I would say your time is probably better spent elsewhere and either manually change the config file or use iis manager.
Ben
|
|
|
|
|
thx alot for the reply ... both of you.
One problem for me is that the website is in a hosted enviroment so i don't have the possibility of altering the ISS. I do know that changing the web.config will restart the application, and that is a sideeffect that i can live with. Then its up to the end-user to make the change at a suitable time.
But i am still very much interested in a solution?
-- Christian
|
|
|
|
|
Hi Friends,
I had a problem I want to share may be I was wrong.
I created a XML file myfile.xml and put that file in App_Data folder.
I tried to read out this file using JAVA Script
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
But I was unable to read this file being in App_Data folder then I moved filt to myxmlfiles folder and I was on my way.
This shows that I can't read a xml file using Javascript from App_data folder of ASp.net
Am I right ?
|
|
|
|
|
NO javascript is scripting language which runs at client side if the server and client are at same machine you will be able to read that file but
If another machine/client can't read the file using javascript which is stored at the server.
By the way why you want to read that file using javascript
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi to all,
i display a list of images using asp datalist control.
in that i want to set the page size.how i can set the page size.
In datagrid we can set the page size by giving page size="5",
like that how i want to set the page size in datalist.
please help me.
jai prakash
|
|
|
|
|
which asp.net version u r using ??
Ramana
|
|
|
|
|
asp.net 1.1 version
jai prakash
|
|
|
|
|
u have provide 4 link bottom of the datalist. Write a class, For each link u have call repecitve methods of that class.
just go through this link[^]
Ramana
|
|
|
|
|
DataList Control Doesn't support Paging. You have to programatically implement. Here is a link to an article which will help you to Implement paging in DataList Control
Implementing Paging in a DataList Control...[^]
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi,
Can anyone help me out in creating a resource calendar with timeline?
The Requirements are:
1)There will be resources(Employees) with start date and end date for a project
2)A resource may be booked for multiple assignments
3)those assignments can falls (Overlaps) on the same start date and end date or with in that dates
What i want:
I want to create the calendar( jus using the asp.net table component and need to fill in red color when the resource is booked on that day
and if he's overbooked ie if the days overlapped the color should be brown...
Can anyone help me please,
i'm in to the deadline of my project
Thanks and Regards
Shiva Srivatsav
|
|
|
|
|
You should only bid on rentacoder projects where you know how to do them. We are not going to do your project for you, you can ask specific questions if you get stuck, but no-one will respond to what is essentially a request for code.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Sorry Mr Graus,
actually i'm very weak in date functions, so if anyone knows about how to do that, hmmm it'll be helpful...
Anyway do i need to remove this post?
Shiva
|
|
|
|
|
No, don't delete it, that will just orphan the replies you got.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
The Calender Component which you are looking for is available here in this link. And The ASP.NET code to program the Component is also available here. But the dll is missing.... I think you should ask your Company to pay for the Component if you needed...Anyway check this out. you will get an Idea how to Create If you are going to program it on your own...
Calender Control[^]
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi
I need some information. I want to do payment gateway integration through
amazon. can anybody tell me amazon provide such service for payment
gateway integration like paypal through which customer do their payment?
Is it necessary that for that purpose client must have his account on
amazon (in paypal client must have account on paypal). I need some
information regarding that. If is there any document or link
which give some information how can i use that.
Thanks.
Rahul.
|
|
|
|
|
Have you tried looking on the Amazon site ? If they have payment services, I've not heard of it. What makes you thnk they do ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes i am reading some documention from amazon but i can't it is not
mentioned that client must have account on amazon or not?
Do you know something about it?
Thanks.
Rahul
|
|
|
|
|
Take a look here[^] for more information.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
like crystal reports dependencies which are shared dll, how can i make my dll shared?
Soniagupta1@yahoo.co.in
|
|
|
|