Feature settings are generated twice.

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/13/2013 3:28:23 AM
Gravatar
Total Posts 22

Feature settings are generated twice.

Hi,

i created a custom feature and  setting for the feature.

Whenever i run setup/default.aspx of my custom feature, the settings has generated again.it should be generated once.

what is the solution to resolve it?

Please guid me..

Thank you

Rajeswari. 

2/13/2013 9:23:29 AM
Gravatar
Total Posts 18439

Re: Feature settings are generated twice.

Make sure your feature definition file has a unique feature guid and don't let that feature guid change. If it does not have one defined in the file then it would get an autogenerated one so it would be different every time.

2/15/2013 3:55:12 AM
Gravatar
Total Posts 22

Re: Feature settings are generated twice.

Thanks joe.

But i'm using the same feature guid.. i didnt change it. after  running the setup for first time i have changed the feature definition config file. i have removed the settings i dont need,after the changes i run the setup again so i'm getting the settings twice.

how  can i resolve this issue?

Thank you 

Rajeswari

2/15/2013 6:42:09 AM
Gravatar
Total Posts 18439

Re: Feature settings are generated twice.

Setup isn't going to remove settings that no longer exist in the definition file, you would have to do that with a sql script.

Setup also does not create duplicate settings with the same feature guid so you should look in the database make sure the feature instance has the correct feature guid and that there are not more than one copy of your feature definition.

You must sign in to post in the forums. This thread is closed to new posts.