I just got latest from my source code, I started getting the below error, can anybody please let me know what could be the reason for the error.
"Access to the path 'D:\Projects\SXXXXX\Source\SH.XXXXXXX.WebUI\App_GlobalResources\Glossary.resx' is denied."
Any help a link, a code snippet or even a suggestion would be great helpful, thanks in advance.
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Access to the path 'D:\Projects\SXXXX\v2.2.0\Trunk\Source\SXXXX.WebUI\App_GlobalResources\Glossary.resx'is denied.
[No relevant source lines]
Source File: /App_GlobalResources/Glossary.resx Line: 1
"There is already enough hatred in the world lets spread love, compassion and affection."
As already told, the problem is with the permissions your application has to access the file resource. Typically, applications are granted read-only permissions. But something that is also not available so just change the permissions and allow read and write actions to be performed.
From the URL, it is clear that the error occurs on your development machine. You can easily edit the permissions to that file.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Normally, when we conduct community elections, one of two rules usually applies.
1, Every one from various communities are allowed to participate in the election.
2, Only certain groups of communities are allowed to participate in the election.
I usually handle these restrictions with the following code:
Dim CommunitiesAllowed = New List(Of String)(
"East Community" _
If Not CommunitiesAllowed .Contains(txtComm.Text) Then
lblNA.Text = "Voters in community" & txtComm.Text & " are not eligible to vote in this election."
With the example above, if a voter does not come from East Community, that voter is not allowed to vote and a message displaying that voters community saying the voter is allowed to vote since his/her community does not match community listed above.
This time, the requirement is different. We have two elections, one election going in East Community only and another going on for ALL communities.
The rule this time is that if you are from East Community, you can participate in both East Community election as well as the general election involving all communities.
However, if you are not from East Community, you can participate in general election but NOT in the East Community election.
Any ideas how to modify above code to satisfy this rule?
According to your explanation nothing has really changed.
If found in allowed community list then allowed to vote in that election
If not found in allowed community list then not allowed to vote in that election
If found in allowed community list then allowed to vote in that election, and can vote in general
If not found in allowed community list then not allowed to vote in that election, and can vote in general
So keep the same code you have for non-general, and simply allow anyone to vote in the general.
The table that is connected to it has a field called District.
That field is populated from another table called Zdistrict.
The bound field is DistrictID.
I want to display the description(distdesc) instead of the number. I was thinking of using a drop down to do this.
How do I get this to work?
If I'm reading that correctly, your list is binding to the table, but not selecting the correct value. If that's the case, it sounds like you're missing the binding on the SelectedValue property of the list:
Yes, please feel free to Google them at your leisure.
As for causing issues....like what? I honestly don't know a blessed thing about your server infrastructure and if adding document processing libraries has been known to cause it problems, I daresay that you have bigger issues to address than report generation.