diff --git a/AssemblyInfo.cs b/AssemblyInfo.cs
index 3bd885d..4d1d7b2 100644
--- a/AssemblyInfo.cs
+++ b/AssemblyInfo.cs
@@ -8,6 +8,6 @@
//
//------------------------------------------------------------------------------
-[assembly: System.Reflection.AssemblyVersion("04.01.02.00")]
+[assembly: System.Reflection.AssemblyVersion("04.01.03.00")]
diff --git a/DotNetNuke.Modules.Repository.csproj b/DotNetNuke.Modules.Repository.csproj
index f5687e0..fab7d1e 100644
--- a/DotNetNuke.Modules.Repository.csproj
+++ b/DotNetNuke.Modules.Repository.csproj
@@ -85,7 +85,7 @@
2
- none
+ pdbonly
AllRules.ruleset
false
diff --git a/DotNetNuke_DotNetNuke.Repository.dnn b/DotNetNuke_DotNetNuke.Repository.dnn
index dd5ede2..1fcd3c9 100644
--- a/DotNetNuke_DotNetNuke.Repository.dnn
+++ b/DotNetNuke_DotNetNuke.Repository.dnn
@@ -1,6 +1,6 @@
-
+
Repository
A file/object repository module that includes skinning and community features like comments and user ratings.
icon_repository_32px.gif
diff --git a/Settings.ascx.cs b/Settings.ascx.cs
index 9a327f6..fce94fe 100644
--- a/Settings.ascx.cs
+++ b/Settings.ascx.cs
@@ -1417,8 +1417,16 @@ private void lbAddAttribute_Click(object sender, System.EventArgs e)
{
RepositoryAttributesController attributes = new RepositoryAttributesController();
RepositoryAttributesInfo attribute = null;
- int _key = int.Parse(ViewState["_key"].ToString());
- int _index = int.Parse(ViewState["_index"].ToString());
+ int _key = Null.NullInteger;
+ if (ViewState["_key"] != null)
+ {
+ _key = int.TryParse(ViewState["_key"].ToString(), out _key) ? _key : Null.NullInteger;
+ }
+ int _index = Null.NullInteger;
+ if (ViewState["_index"] != null)
+ {
+ _index = int.TryParse(ViewState["_index"].ToString(), out _index) ? _index : Null.NullInteger;
+ }
if (lbAddAttribute.Text == Localization.GetString("SaveButton", LocalResourceFile))
{